This is on Unity 2023.1.0b15, using 2D URP if it’s relevant.
If I revert the changes using source control they come back the next time I play or build the project.
I found the following which sounds like it might be similar, but suggests the issue was fixed in 2023.1.0b3:
What is causing these changes? Can I just ignore them and let the updates go into my source control? If this is a bug I have no idea how to report it as although it has happened 2 or 3 times over the past couple of weeks I have zero leads on what the trigger is.
Experiencing the same here. Big project with lots of animation clips breaking because internalIDs keep changing on a lot of sprite sheets. Surprisingly it doesn’t happen for every sprite, only a few
Hello!
Sorry to resurrect this topic, but I have the same problem in Unity 6000.0.25.
When one of my coworker add png files in the project, the .meta created as a “{}” value for nameFileIdTable. But once I get the files through source control, the .meta file is immediately changed to add a value to this field, and it is added again to source control. Here is an example :
And if he update the .png later, Unity will finally update the .meta in the same way than mine. But if he already pushed the first .meta file on version control, it will create a conflict between its meta file and mine (even if they are identical).
The problem seem to be the fact that its first .meta file have a void nameFileIdTable field for some reason.
Is there a fix for that, or a way to be sure everyone will create the same .meta files ?
When I (or a colleague) add a png asset in our project, the .meta file created has an empty “nameFileIdTable” field (and this seems to be the issue).
But if I update it, reimport it, or if someone else get it through version control, the .meta file will update to add a value in the nameFileIdTable field.
This is problematic, as it creates conflicts in version control (as every people getting the png will update the .meta file on their side).
It only happens if the editor has the Default Behaviour Mode set to “2D”, so the texture is imported as a Sprite. For default mode textures, the effect doesn’t happen.
I’m also a bit suspicious about the whole existence of the nameFileIdTable - it’s just a copy of the internalIDToNameTable on the top of the document, with the same names and IDs laid out in a different order, so one of them could probably go.
But I see that it has now been updated as “fixed” in Unity 6000.1.5f1.
I’ve installed Unity 6000.1.5f1 a few weeks ago, and sadly I still have the bug, reproducible with the same steps that in the ticket
Is it possible that the fix is in a later version of Unity that 6000.1.5f1?
Thanks again