Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

LoadSceneAsync and dropped frames.

$
0
0
I am loading a scene using LoadSceneAsync. It seems that no matter what I do I get a dropped frame.

To test this I crated a dummy scene with 10 (Generic Unity) boxes spaced out.
The boxes are marked as inactive.
In the start thread I added code below.
Unity Drops a frame as allowSceneActivation is set to true.
See the profile Screenshot for more info.

Is this expected behavior?

Code (CSharp):
  1.  
  2.    void Start() { LoadTest(); }
  3.  
  4.     void LoadTest() {...
LoadSceneAsync and dropped frames.

Viewing all articles
Browse latest Browse all 12131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>