Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4
2020.1.0a15
Issue ID
1203075
Regression
No
[Mobile] Crash on WillDestroyGameObject() when calling DestroyImmediate() in Start
How to reproduce:
1. Open the attached project for iOS or Android platform
2. Assets > Build AssetBundles
3. Build & Run the project to a device
Actual result: Unity crashes.
Reproducible with: 2017.4.35f1, 2018.4.14f1, 2019.2.15f1, 2019.3.0f2, 2020.1.0a15.
Devices reproducible with:
- iPhone7+ (iOS 11.4.1)
- iPhone 11 (iOS 13.0)
- VLNQA00229 Oneplus OnePlus6T 9 Snapdragon 845 SDM845 Adreno (TM) 630
Notes:
- Not reproducible on Mac Standalone (Both Mono and IL2CPP).
- The issue reproduces only if "Strip Engine Code" is enabled in Player Settings.
- The issue is not reproducible if "Assets/ProductDemo/ResourcesNO" folder is renamed to "Resources".
-
shubhamswaraj2021
Aug 19, 2020 05:55
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
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
- [Scene View][Ubuntu] Prefab mode UI ghosting in HDRP
- Deleting AudioMixer asset throws MissingReferenceException and breaks the Audio Mixer window
- Crash on ScheduleGenerateTilingShape when modifying PolygonCollider2D path count and setting path vertices
- Crash when a scene is created with LocalPhysicsMode::Physics3D
- [HDRP] Light doesn't bounce off terrains
Resolution Note:
DestroyImmediate should not be used in runtime code, use Destroy instead. See https://docs.unity3d.com/ScriptReference/Object.DestroyImmediate.html