Search Issue Tracker
Duplicate
Votes
0
Found in
5.2.0f3
Issue ID
729290
Regression
Yes
Crash when using editor scripts and applying prefab
To reproduce:
1. Open project, open scene "player test" in "Prototyping/Scenes/Testing"
2. Select "player" object.
3. Press "revert" or "apply"
The script "PEPrefabScript" should produce a null reference error, and, after a few seconds, Unity should crash. The crash doesn't occur if you comment out line 434 in the script (the one that causes the null reference) (PrefabUtility.ReplacePrefab(instantiatedPrefab, PrefabUtility.GetPrefabParent(instantiatedPrefab), ReplacePrefabOptions.ConnectToPrefab);).
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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
This is a duplicate of issue #728853