Search Issue Tracker

Fixed in 5.4.0

Votes

0

Found in

5.4.0b3

Issue ID

765330

Regression

Yes

[iOS] App Freezes when loading scene with objects imported from older versions of Unity

IL2CPP

-

To Reproduce:

1. Open the attached project and build for Apple TV (only include '3dTest copy' scene).
2. Observe that the app gets stuck on a white screen when running on an Apple TV in:

#2 0x00000001009e8d80 in ::Sleep() at /Users/builduser/buildslave/unity/build/Runtime/Threads/ThreadHelper.cpp:61
#3 0x00000001009a4b44 in ::WaitForAllAsyncOperationsToComplete() at /Users/builduser/buildslave/unity/build/Runtime/PreloadManager/PreloadManager.cpp:551
#4 0x00000001008a8184 in ::LoadScene() at /Users/builduser/buildslave/unity/build/Runtime/SceneManager/SceneManager.cpp:73
#5 0x0000000100956778 in ::PlayerStartFirstScene() at /Users/builduser/buildslave/unity/build/Runtime/Misc/Player.cpp:633
#6 0x0000000100b06900 in UnityLoadApplication at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/LibEntryPoint.mm:238

The issue is very strange and can only be reproduced, on scenes that have been imported from an older version of unity and have a gameobject with the 'TestManager.cs' script attached (this gameobject can be disabled) (!), but the same scene loads perfectly fine if the gameobject ir removed.

Also adding the same script to a new scene also doesen't reproduce this (the scene is loaded fine and the script works as expected), so this might be some issue with serialization.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.