Skip to main content

Questions tagged [profiler]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
80 views

Application.WaitForAsyncOperationToComplete() causes game-freeze in Editor

I'm creating a pause menu for my game and I have two scenes: a menu scene (Scene1) and a game scene (Scene2). I load them using the command 'SceneManager.LoadScene(1);' for the menu scene and '...
AshwinTheGammer's user avatar
1 vote
0 answers
62 views

Unity Editor Hiccups

I've just started getting Editor hiccups during Play mode (new project) & unable to find out whats causing it. Is there a way to find out what calls the editor's making to try & debug this? ...
akaBase's user avatar
  • 121
1 vote
0 answers
154 views

How to use Profiler samples to profile Start method?

When I use Profiler.BeginSample("Update Example") and Profiler.EndSample() in ...
Tien Hung's user avatar
1 vote
1 answer
45 views

Unity Editor Hangs for A Fraction of A Second About Once Per Second

I am having a problem with the Unity Editor. It hangs for a fraction of a second about once per second. I took a video recording of me walking through the default hdrp scene. https://youtu.be/...
ChristianOConnor's user avatar
0 votes
0 answers
236 views

Unity sprite takes 5 times more memory in profiler

So as stated I have a sprite that when compressed takes 2 MB. But when I look into the memory in the profiler, it says that the sprite uses 10 MB! This happens both when I profile in the unity editor ...
bobthesnob's user avatar
1 vote
1 answer
703 views

Unity Android build crashes randomly

I have an Android game, and everything works perfectly in the Editor, but when I run it on my Android device, it crashes sometimes. This is how it goes: I'll be playing my game, and randomly, or ...
Franc Pujolar's user avatar
1 vote
0 answers
1k views

Unity development build not connecting to profiler

my development build( with auto connect profiler checked ) is not working. The build runs correctly but no data is displayed in the profiler window. In the console, it says failed to connect.
Robert Polomon's user avatar
0 votes
1 answer
2k views

Error while trying to Build APK, fails when profile option is enabled

When I build normally my android app it execute without no problems, but when I go to File -> Buil and Run and I eneble Development Build and Autoconnect to profiler I got this error ...
eflores's user avatar
  • 11
1 vote
1 answer
856 views

Unity Profiler - How do I correct Audio (WASAPI) Feeder issues?

I've got the following data after running the Unity Profiler: If I'm reading this correctly, the thing that's driving me down to ~1 FPS is the CPU Audio. I can't understand what's going on here, ...
Chuck's user avatar
  • 249
0 votes
2 answers
1k views

Unity's Profiler doesn't specify which of my methods take how much time?

I'm working on a map generator, which is used in Awake(), so I couldn't see it in the profiler. So I created a new scene, where right clicking generates the map. Now I can see the generation process ...
Tudvari's user avatar
  • 771
1 vote
0 answers
480 views

Unity profiler spikes with vsync vs smooth no vsync

I'm trying to profile my game, this is a webgl game, and the browser forces vsync. My problem is, when I disable vsync in unity I get a pretty smooth profiler, while with vsync I get huge spikes. I ...
MeanLagrange's user avatar
2 votes
1 answer
2k views

Bizarre Physics FixedUpdate Lag spikes

So I have this large forest of around 2M tris: Same chunk selected with view on the whole level: It's been generated within Blender and exported as fbx into Unity. Exporting each tree as an ...
AzulShiva's user avatar
  • 679
1 vote
1 answer
146 views

GPU (render time) increase if screen size increase

i create a simple 2d scene in unity 2017.3.1f1 I changed the size (height and width) in the Game View and proflie to see how it affects the rendering.. (below photo) I saw that the rendering time ...
sam's user avatar
  • 9
0 votes
1 answer
1k views

low FPS when battery is low ( unity android )

i make a simple 2d scene in unity 2017.3.1f1 (only 5 sprite renderer). I realized that when my Android device's battery is under 20 %, the frame rate will be 60 to 30. I did all the optimizations I ...
sam's user avatar
  • 9
1 vote
0 answers
114 views

Instances in the Unity Profiler Timeline

What do Instances mean when you click on an operation in the Timeline section of Unity Profiler? In this example: Total: 11.90 ms (10 Instances)
Emad's user avatar
  • 1,126
2 votes
2 answers
14k views

Have VSync on or off while do a game profiling

I'm trying to profile the game using Unity Profiler in order to catch any potential performance issues. The graphics settings support VSync feature. However, I am not sure which one is the best ...
Emad's user avatar
  • 1,126
1 vote
1 answer
1k views

Unity - SpriteAtlas memory consumption

I'm in the process of optimizing my application memory consumption. To do so, I'm using Unity profiler while connecting to an Android device, which runs a development build of the application. The ...
Yaniv Shaked's user avatar
1 vote
1 answer
3k views

Memory is not getting freed on Destroy()

Manager script(simple script attached to an empty GameObject on scene) on Start() instantiates 1000 default cubes with rigidbody component added and gravity check ticked. ...
metamorphling's user avatar
2 votes
1 answer
391 views

Help understanding Unity Profiler time in ms

I'm a little confused about this column shown in the picture above. When it shows 0.22 does it mean "22 miliseconds" or does it mean a fraction of a milisecond (i.e. in this case, around 1/5 of a ...
AnotherUser's user avatar
0 votes
2 answers
8k views

90% CPU on Profile Editor: Throttle mainMessageLoop

I have a big problem in my Unity game, in almost every scène of my game, my editor is laggy, when I record Porfile Editor / deep profile editor, here is the result: I have no idea what is this ...
Ugo Hed's user avatar
  • 281
1 vote
1 answer
945 views

Unity engine memory usage issue - taking up more than it should

I'm making a 2D game that consists mostly of sprites. As a lot of them were too large in file size, I swapped them into meshes with unlit materials without textures. Now, The problem is that Unity by ...
agiro's user avatar
  • 269
3 votes
2 answers
23k views

Massive CPU Usage by WaitForTargetFPS in the Profiler

So I was checking the Standard Assets Example Projects of Unity, and they all have high FPS numbers in the Profiler. I started a little project myself, just a simple sprite with movement via ...
Gardener's user avatar
  • 331
4 votes
6 answers
19k views

Gfx.WaitForPresent performance issue

I am making a 2D mobile game and it runs really well (60 fps) on my phone. However, in some cases the performance goes down drastically to the point where it runs at 20 fps or even less. It happens at ...
Milen Pivchev's user avatar
2 votes
1 answer
3k views

How do I interpret the differences between the "Time" and "Self" columns in Unity's profiler?

I'm not quite understanding how to read the results of the profiler: A method Pathfinding_NodeAdjuster.CheckSpecificArea() method is using up 94.7% of the ...
Joe's user avatar
  • 33
4 votes
2 answers
2k views

Profiling LibGDX game with GLProfiler

I am trying to profile my LibGDX game, It runs on 60FPS on PC and 42-45 FPS on MY mobile phone. Either I improve performance and raise it to 60, or lock it at 30 (I don´t want to do this). I have ...
Mayuso's user avatar
  • 927
2 votes
1 answer
2k views

Unity Profiler - What would cause PlayerEndOfFrame to have 10-16MB in GC Alloc?

I can't find much documentation on what "PlayerEndOfFrame" does. Sure it is the end of a frame but what would cause the GC Alloc to go so high? This is the profiler results from a debug build on a ...
Euthyphro's user avatar
  • 237
1 vote
0 answers
818 views

How to read the binary file generated by the Unity profiler?

I'd like to know how can I read the binary file generated by profiling Unity game and how can I save it on external hard disk.
messaoudi's user avatar
0 votes
1 answer
288 views

What is the cause of these WaitForFPS spikes and dips?

In Unity, moving the player causes the camera to jitter. I went to the Profiler, and I saw these spikes: On further inspection, all the yellow spikes were WaitForFPS(). I've tried every VSync setting ...
Gyt Dau's user avatar
3 votes
1 answer
334 views

Where can I find OpenGL state changes profiling?

Is there any benchmark that actually measure state changes cost in OpenGL 3.x/4.x and gather an average statics for all graphics cards? (I don't want to optimize only for my old AMD card, I'm not even ...
CoffeDeveloper's user avatar
2 votes
1 answer
2k views

Profiling the GPU of a tablet

We are working on a tablet game in Unity Pro (for the first time). Unity's profiler works great for probing the CPU, but the tablet's GPU isn't supported in the profiler, so we have no idea where the ...
Spectraljump's user avatar
1 vote
1 answer
537 views

GLES2.0 3D Android game performance and multi threading the update?

I have profiled my mixed Java\C++ Android game and I got the following result: As you can see, the pink think is a C++ functions that updates the game. It does things like updating the logic but it ...
Ofer's user avatar
  • 11
2 votes
1 answer
2k views

How are profiling- and tracing -techniques used in Game Development?

I feel that in order to create realistic real-life games, game developers need some ways to monitor the system itself i.e. players' moves, other events and the state of the system itself. I know that ...
user avatar
1 vote
2 answers
1k views

[JOGL] My program is too slow, how can I profile with Eclipse?

My simple opengl program is really toooo slow and not fluid. I'm rendering 30 sphere with simple illumination and simple materials. The only complex computing stuff I do is a collision detection ...
nkint's user avatar
  • 961
3 votes
2 answers
379 views

Profiling code with threads and script interpreter

Basically, how I profile a game that have multithreading and script interpreter? (Lua in my case) I have no idea of where to look for that. Also it would be nice to be able to profile code that ...
speeder's user avatar
  • 1,402