Search Issue Tracker
Duplicate
Votes
0
Found in
2018.1.0b8
Issue ID
1014069
Regression
Yes
[IL2CPP] Player freezes when invoking OnDestroy
To reproduce:
1. Open project attached by QA
2. Build "_base" scene for iOS
3. Run it on the device
4. Hit the 1st button few times and then "DestroyAll" button
-- Notice that game objects were destroyed (the text has disappeared)
5. Hit the 2nd button few times and then "DestroyAll" button
Expected result: After invoking OnDestroy active game objects should be destroyed
Actual result: Player freezes
Reproduced with: Unity 2017.3.1p3, 2018.1.0b11, 2018.2.0a4
Not reproducible with: 2017.1.3p2, 2017.2.1p4
Devices: iPhone 7 iOS 11.0, iPod touch 6th gen iOS 10.2.1, Samsung Galaxy S8 (USA Unlocked) Android 7.0
Scripting Backend: IL2CPP (iOS and Android)
No repro with mono backend on Android
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on AudioMixer::GetFMODChannelGroup when entering Play Mode in a specific project
- Prefabs with "Flags" enum properties result in "IndexOutOfRangeException" when trying to commit/revert
- The Camera first person mode in Cameras overlay is greyed out and not clickable when the Editor is restarted with the Game View focused
- Scene View doesn't select the Canvas when it's clicked with the View Tool
- Transform fields are impossible to edit when Inspector window is resized
This is a duplicate of issue #1011133