Hi guys, i don't know if i'm missing something, but i can't apply overrides to the object in the scene. To make things worse, for some objects it works, for some it works partially (overrides some changes to children, and others can't be applied, like in the gif), and for some, like in the gif, it doesn't work at all.
Can confirm this bug exists... but don't know why or how it occurs. Similar situation, in a canvas, a couple of changes to a TextMeshPro object aren't being overridden.
I know a little more, about my similar situation. The overrides are being done, they simply remain in the Inspector Override dropdown appearing as though they're not done. My changes are all being made to TextMeshProUGUI element values. Size, anchors, drawRect etc.
It could be because the things you are editing in the prefab are 'outside' the prefab? I found that this was the case in one of my projects. If you drag and drop an item into a prefab from the main scene, and try to apply that, it doesn't like it as that is not accessible to the prefab itself.
Same problem. It seems that overrides do get applied. Git found changes in the prefabs, so they presumably were applied. However they are still shown in the Inspector as if they were not applied.
If you make a small repro project and attach it to a bug report, I'd like to have a look at your case.
I am also having same problem. I click on Override, But is Still shows the option to Apply overrides.
Hello. We are currently working on a bug of this kind. But, to be honest, it's hard to say whether it is the same bug, caused by the same issue, or another bug that just happens to show the same symptoms. That's why I asked you to make a bug report, with a small repro project attached, so that we can have a look at it. Thank you.
In one case, you can't reference an object that is in scene. you should reference it from asset(disk file)
We need more information about what components and properties this issue is happening for. Please provide more info in this thread or submit a bug report. Thank you
i cannot apply any of the modifiers , as such the apply button is greyed off, cant add mesh for any fbx files i have created from blender. even the position is also not modified and is not updated or applied, but all the functions happening correctly, maybe it might create trouble while baking the end product.
What it seems like is that you are trying to apply changes to a model (like a fbx file). If you were to apply these changes and update the model, they would all disappear if the model get reimported. Instead you need to create a variant based on this prefab and then you can apply the changes.
@Peter_Olsted this is still a problem today. It is true it used to be a exported model. I unpacked it completely and created a new prefab and now I still cannot apply it.
Please provide more information like screenshots of the overriddes you are trying to applying or better a video that shows the situation.
Some components are automatically generating overrides so after you apply it looks like it is still overriden even though the value was in fact applied to the Prefab Asset.
I have the same issue, and I've found why is that happening. When I try to attach a gameobject like a TextMeshPro onto a textmesh variable of a script in main prefab, it doesn't attach. If I could upload a video, I would show the problem.
Ok so I had the same bug. Player prefab would not apply changes to the prefab. found out it looked like it could not make changes to the parent prefab without the items that needed to be in the prefab also as a prefab. once I made the images or texts i was trying to change into prefabs i could manually add them to the original prefab and they would then save. not sure why this happened but it did and it was very annoying haha.
So while making screenshots for this bug, I think I got closer to figuring out why it happens. Here's how I reproduced it: This happens often when working on new scene made from a template: Added a new script (green +: PlayerAnimEvents) to a child object of my prefab: Applied to Model, prefab is Player Apply Override to save the prefab changes Create a new scene from a template (can also test by double clicking the Prefab that was supposed to be changed in inspector): The changes applied before are not in the prefab loaded into the scene nor are they in the prefab when double clicking from the project view.
Note that the scenes I was working on were made from a template and not saved before applying override. I tested it while loading the actual template scenes, instead of creating new scenes and it worked as expected (no bug).
I found that bug too and it concerns a prefab variant. I added an instance of that variant in a scene, made some changes to a scripted component placed on the root game object of that instance, but options to apply the changes to the source are grayed out, both for the prefab variant and the original prefab the variant is based upon. The only solution I found was to copy the component and directly paste the values onto the prefab variant.