Error with PRO when upgrading to unity 5.1.0f3 free with latest beta version

I recently upgraded my project, and noticed that a script from this package (I have Pro) is not compiling. It seems to be using an old reference to the undo/redo system, that is no longer supported.

Here is the exact error:

Assets/AstarPathfindingProject/Editor/AstarPathEditor.cs(2169,38): error CS1061: Type UnityEditor.UndoPropertyModification' does not contain a definition forpropertyModification’ and no extension method propertyModification' of typeUnityEditor.UndoPropertyModification’ could be found (are you missing a using directive or an assembly reference?)

I will attempt to see if there is a fix by changing the reference (assuming the name simply changed for this member) but I figured I should point this out if there are bigger issues (or others experience this).

Please let me know if you have a solution / new version to correct this :smile:

I tried the approach here and it fixed the problem for me.

3 Likes

Thanks. Currently I just modified that line to omit the offending code.

Apparently it was just there to build up a string for console output.

I am aware this make things a bit less verbose, but I rarely use the undo/redo system, so I feel this is fine. I’m sure they will fix it soon.

Thanks for the reply :smile: