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
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
This is a duplicate of issue #1011133