Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.6f1
Issue ID
1073582
Regression
No
Unity Crashes on UnityEngine.Object:Internal_InstantiateSingle_Injected(Object, Vector3&, Quaternion&)
How to reproduce:
1. Download and open my attached project "BugProject.zip"
2. In the Project window find the folder "scene0" and open "menu" Scene
3. Play the Scene and in the Scene window press on "load after saving" button
-- crash occurs --
Reproducible with: 2017.4.14f1, 2018.1.9f2, 2018.2.14f1, 2018.3.0b7, 2019.1.0a6
First three lines of the stack trace:
UnityEngine.Object:Internal_InstantiateSingle_Injected(Object, Vector3&, Quaternion&)
UnityEngine.Object:Internal_InstantiateSingle(Object, Vector3, Quaternion)
UnityEngine.Object:Instantiate(Object, Vector3, Quaternion)
Note: You'll notice the script called "GameData". It looks like that when commenting the line 103:
GameObject go = Instantiate(prefab, new Vector3(inf.x, inf.y, inf.z), Quaternion.identity) as GameObject;
The project does not crash anymore
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 has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
Add comment