[UI Designer]`Keep Prefab Link` option cause Basic grid creation failed

Justus

Member
1) enable the `Keep Prefab Link` option
1653997935703.png
2) change the `Panel Option` to `Basic`
1653997993226.png
3) click create and exception occur.
1653998069467.png
 
Unfortunatly there is not much we can do about that.
You cannot remove things from prefabs when they are sapwned in a scene. So any script that tries to remove and replace something inside of a prefab instance won't work.

So the keep prefab link can only be used in certain things.
 
I mean you may could use a `fallback` behavior for this kind of condition. to avoid throw these kind of exception.
 
or could you add some part in the documents to explain the effect and known shortcomings of `Keep Prefab Link` option.
It's ok for me personally, but I think it's better to add explanation somewhere.
 
Top