Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2020.2
2021.2.0a16
Issue ID
1333618
Regression
No
Prefab is added to the opened scene whenever you RMB->Create->Prefab in a folder
Prefab is added to the opened scene whenever you RMB->Create->Prefab in a folder with too long path
How can we reproduce it using the example you attached
1 Open attached project
2 Open scene SampleScene
3 Open folder "123456789..." and in it open subfolder "123456789..."
4 While in that subfolder do RMB->Create->Prefab
Actual results: the exception is thrown in the Console (because path is too long) and Prefab is added to the currently open scene
Expected results: Prefab should not be added to the scene
the project includes long folder names, in case attached project (archive) is broken because of that - you can reproduce it on a new 3D project, steps are:
1 Create new 3D project
2 Open scene SampleScene
3 Create folder called 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890a1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890a123456781234567890123456789012345678901234567890
4 Open that folder and create subfolder called 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890a1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890a1234567812345678901234567890123456789
5 Open that subfolder and do RMB->Create->Prefab
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Quest 2] Surface shader and multi-view sampling custom textures broken in Quest 2
- Lighting Data asset is not created when baking multiple Scenes at the same time
- Performance issues when instantiating a recognizer under UnityEngine.Windows.Speech
- Build fails with "Exception: Unity.IL2CPP.Building.BuilderFailedException: Build failed with 0 successful nodes and 0 failed ones" when building the project for iOS
- [Android] .aab Build fails when using Asset Bundles
Add comment