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
- Unity crashes during the scene template selection in the "Inspector" tab
- [Android] [iOS] [UnityWebRequest] Requests with "UnityWebRequest" are open for SSL Proxying
- SetWindowsHookEx does not prevent Windows key input when Editor or Player Window is focused and Active Input Handling is set to “Input System Package (New)” or “Both”
- Crash on GetEffectiveBc7TextureCompressor() when loading and unloading all Assets in the Project
- Terrain Masks do not ignore the mipmap limit
Add comment