Search Issue Tracker
Duplicate
Votes
0
Found in
2019.2.0a1
Issue ID
1120362
Regression
No
PrefabUtility.LoadPrefabContents needs better handling of incorrect prefab paths
Steps:
1. Open attached project
2. There three menu items:
a) Test/RunTest1 => tries to load prefab contents from unexisting path
b) Test/RunTest2 => tries to load prefab contents from path to wav file
c) Test/RunTest3 => tries to load prefab contents from path to fbx file
Results:
"a" case crashes editor
"b,c" case throws errors
"Failed to load 'C:/UnitySource/API/Tests/EditModeAndPlayModeTests/NestedPrefabs/Assets/Helpers/Death1.wav' because it was serialized with a newer version of Unity. (Has a higher SerializedFile version)"
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
This is a duplicate of issue #1116603