Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2022.2.0a1
Issue ID
1392968
Regression
No
Saving Prefabs into StreamingAssets should be improved
Steps:
1. Create StreamingAssets folder in Assets folder
2. Drag any GameObject from the scene inside this folder
==>
GameObject became Prefab Instance with missing asset (since the prefab is not imported)
Some thoughts:
It could make sense to create a prefab in the streaming assets folder you just can't connect to it.
So:
Drag'n'drop should allow it but not connect, maybe show a dialog
PrefabUtility.SaveAsPrefabAsset is ok
PrefabUtility.SaveAsPrefabAssetAndConnect should throw an exception
SavePrefab_Internal should bail out if the path is a streaming asset folder and connectToInstance is true
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment