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 RaiseException when AddGameElement handles a generic type
- Interpolation 2D results are inconsistent when position.z = position.x is called on Late Update
- Game View's scale slider bar gets set to 2.5x when entering Play Mode
- Crash/Memory leak in a WebGL build when executing a very large switch statement multiple times
- [Asset Bundles] The Active Build Platform is being used instead of the build target to determine material/shader compilation
This is a duplicate of issue #1011133