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

Scene Management

-

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

Log in to post comment