cancel
Showing results for 
Search instead for 
Did you mean: 

Unity 5.2.3 with Oculus 0.8 stuttering

mbcauley
Explorer
I am having some frame rate issues with a fairly simple Unity 5.2.3 scene and I can't quite figure out why. I have an object instantiating during runtime. At this time there is a very noticeable slowdown from 72-75fps down to about 50 for a couple seconds, and then after that it continues to stutter around a bit.

I'm running a pretty powerful machine with a Geforce 980 Ti and 6 core i7.

Here is a screenshot of the profiler showing some of these spikes every 35 frames or so after the instantiated object. I notice there are some inconsistencies with PlayerEndOfFrame but not sure if that is the cause.

Does anybody know what could be going on here?

1 REPLY 1

BoneCrasher
Honored Guest
Unity is the problem,, I haven`t looked at your code. But stuttering when instantiating objects is unavoidable.
The only solution is,, keep it simple. Avoid object instantiating as much as possible.
There might be some workaround depending on the nature of your code. But you won`t get very far with a hacky solution.
Use a game engine or your custom engine where you can use scripting languages only where appropriate.