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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment