Open ClementCasaRara opened 7 years ago
I'd like to point out that we also have this issue where prefabs shows as a change in version control but have no content changed. However we don't enforce asset locking so it's not as big of an issue for us. We just reset the changes and move on.
Hi, First of all, great asset! I have it both at home and now at work and it's a life-saver. :)
We recently found an issue with FullInspector v2.6.3 in Unity 5.5.0f3 where some of our prefabs would constantly get checkout even though they had no modifications. Our version control system is set to lock checked out prefabs so it caused quite a few headaches as people couldn't work because their prefabs were locked by someone that didn't touch it. Here are the repro steps:
public class ProblematicScript : FullInspector.BaseBehavior { public delegate void DummyDelegate(); public DummyDelegate ImTheIssueHere; }
I tracked the behavior down to SaveState in fiISerializedObjectUtility.cs at when the item is selected at step 6.
if (AreListsDifferent(obj.SerializedStateValues, serializedValues)) {
The lists are indeed different as one has a null and the other has an empty string. It might be related to the call to RestoreStateLet me know if you need more infos.