-
assigned issue to
Prefab Variant's right-click menu does not have the expected"Apply to *** Prefab" options for individual fields
I'm not sure if this is a feature request or a 'bug' but it's a problem that is affecting my workflow and is overriding a pretty important feature of Unity's new prefab setup I think.
When using Odin, the right click menu has context buttons for Copy/Paste
However, with Odin disabled there are "Apply to Prefab" buttons that are very useful in normal workflow
I would say that the Apply options on a field-by-field basis is pretty important. There are workarounds but it is a hassle to apply the whole Component, go into the prefab editor, or go to the prefab root object (in this case it's a child object so I'd have to select the parent, go into the override menu at the top, select the field, apply that... it's a hassle)
So, maybe a feature request, I think it's a bug since it removed expected functionality of Unity's.
Either way, could we have those options back? :)
Comments (15)
-
-
- changed status to open
-
- changed status to resolved
-
Nice, does that mean this will be fixed in the 2.0.18.0 update? Looking forward!
-
Should be, yes - though I'm not sure when 2.0.18 will come out. Fixing this bug led me into a rather deep rabbit hole by necessity, which saw some much-needed refactoring, optimizations and fixes in PropertyTree's path lookup methods - which were the ultimate cause of the issue.
-
Hey just checked out
2.0.19.0
and the context menu is still the same (“Apply to Prefab …“ option not there).EDIT: also the blue lines on the sides indicating a prefab change aren’t there… maybe this is related?
EDIT: EDIT: Later found out that the blue line issue was because of a custom drawer, but the right click option is still gone, also for simple types and default editors.
Will the fix be applied in a later version?
Kind regards,
Jan -
Will this fix come at some point?
-
- changed status to open
It would appear this issue has started occurring again, or that the prior fix did not handle all cases - I'll focus all the discussion here.
-
- changed version to 2.1.10.0
-
- marked as major
-
Issue
#638was marked as a duplicate of this issue. -
Incidentally, my testing shows that a temporary fix for this is to hold shift while right-clicking for the context menu - this will cause Odin to invoke Unity’s own generic context menu and “steal” all the items from it, thereby getting Unity’s own context menu points for applying the prefab value. I’ll keep investigating why Odin’s own menu item isn’t showing up properly.
-
- changed status to resolved
Alright, I should have a fix for this which will be included in the next patch. If anyone is up for verifying my fix, please contact me on Discord to receive a hotfix build. Otherwise, I recommend people use the Shift + right-click work-around until the next patch is out.
-
There’s still a somewhat obscure but serious issue that changed values that are assumed to be applied through this new menu are not really applied!
They show as not bold anymore with the new value, but if prefab mode is entered the previous value is shown to be still there (also noticable after reload too).
Also, the dropdown only lists the immediate prefab, so it’s not possible to apply the value to a deeper parent as it is possible with unity’s menu. -
- changed status to open
... I guess I'll get back to it, then :D
- Log in to comment