If I decide to rename some public fields in my Scripts or Components, I run into problems here.
The asset compiler complains about being unable to deserialize the old property from MainScene.pdxscene (which of course is correct since it aint available under that name anymore).
Now I tried to manually replace the old property name with the new one in the pdxscene file, but I keep getting the same complaint, just with the new property now (I re-checked for typos). Asset compiler says the property is not found in the type in question.
I tried to remove the assignments from the pdxscene file completely (manually) but now the asset compiler throws an exception “Serialization contentRef indices are out of sync”.
So what is the suggested way of doing some refactoring like that?
Edit:
Ok, seems I screwed up. I undid all my changes to my class renamings and to the pdxscene, but the asset compiler refuses to compile with the same message that it can not deserialize that property (which is back at it’s old name and which is definitely part of my class). Any idea what to try?
Edit2:
I restarted and rebuilt everything, but the error stuck with me. Only after restarting the whole computer I can now build and run the solution. The question remains though, how am I supposed to do refactoring?