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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment