So I made an Editor Window to edit a grid system.

It controls many things, general grid setting, where to draw the grid, what to draw it with etc.

It also allows one to edit the properties of a Grid Item when selected, and forces said grid item to snap to the grid when you move it regularly.

This system worked before, but at some point, values that were changed from the Editor Window, and by proxy when you moved that object using the mouse, will not be saved if they are a prefab.

During editing, the values are changed as one would expect. But when you test, the values are reverted to the value that was last set in the Inspector(aka, not set in the EditorWindow, and not set by moving with the mouse, as the EditorWindow snaps and sets that values).
If no such value exists, aka you brought the object in and immediatly started moving it with the mouse, it reverts to it’s prefab values.

If the object is not a prefab, aka the gridItem behavior is on a random box, none of this happens, and it acts as I want.

Again this system used to work. There were changes to both the GridItem and the GridWindow, and we upgraded the project to Unity 3.5.

I am currently stepping back through our repository, trying to find a place where the bug began, but in the meantime was wondering if the community had ever heard of anything like this, or if it was a bug with 3.5.

Note: I had posted an earlier post, but that was when we had just discovered the bug, and I did not have all of the information.

So I am going to answer this one, in case someone else faces this.

It seems that the update from 3.4 to 3.5 is to blame.

I opened a prototype of the project in 3.4, and the bug was not there. Opened the project in 3.5, updated, and the bug was there.

I’m gonna make sure there is not another bug report, submit one if there is not.