|
Post by apocriva on Jun 14, 2015 16:49:14 GMT
I just purchased and imported Honey Hex Framework in Unity 5.1.0f3 and get this compile error: Assets/HoneyFramework/3rd party/AstarPathfindingProject/Editor/AstarPathEditor.cs(2127,38): error CS1061: Type `UnityEditor.UndoPropertyModification' does not contain a definition for `propertyModification' and no extension method `propertyModification' of type `UnityEditor.UndoPropertyModification' could be found (are you missing a using directive or an assembly reference?) Please advise.
|
|
|
Post by apocriva on Jun 14, 2015 23:31:42 GMT
I replaced ".propertyModification" with ".currentValue" and was able to compile, but I reckon that the A* library needs to be updated regardless.
|
|
|
Post by khash on Jun 15, 2015 8:47:47 GMT
Hi!
Thanks for finding this one. I will check it out
|
|
korog
New Member
Posts: 1
|
Post by korog on Jun 22, 2015 9:59:37 GMT
had the same error there right after importing. used your fix apocriva...
UndoPropertyModification[] OnPostProcessModifications (UndoPropertyModification[] mods) { var s = ""; for (int i = 0; i < mods.Length; i++) { s += mods.propertyModification.propertyPath + "\n"; } Debug.Log ("Saved:\n"+s); return mods; }
|
|
|
Post by chengkeng1987 on Jul 25, 2015 16:56:07 GMT
Also cause I can not open any script VS 2013 ? Hoping to solve as soon as possible, thank you!
|
|
|
Post by khash on Jul 25, 2015 18:28:03 GMT
Hi!
I'm not sure why would you not be able to open any script in VS2013 I'm using it and all scripts are jsut text files so I have hard time finding out what could stop you from opening them in studio.
|
|
|
Post by chengkeng1987 on Jul 26, 2015 7:17:35 GMT
Hi! I'm not sure why would you not be able to open any script in VS2013 I'm using it and all scripts are jsut text files so I have hard time finding out what could stop you from opening them in studio. In fact, I just do not know why the following code will lead to the normal start: UndoPropertyModification[] OnPostProcessModifications (UndoPropertyModification[] mods) { var s = ""; for (int i = 0; i < mods.Length; i++) { s += mods.propertyModification.propertyPath + "\n"; } I try to use VS 2013 to solve this problem, the results of VS 2013 can not open the script. Finally, use the "MonoDevelop" commented the above code before they can return to normal.
|
|
|
Post by khash on Jul 26, 2015 8:59:08 GMT
Code you have problem with is part of the "A* Pathfinding project" and seems to do nothing more than just collect some strings for a Debug.Log()to printout, but you may want to contact author of this plugin to findout if some fix may be applied in source level.
|
|