Hey there,
I was trying to get a project to build with Node Canvas (the project at the time didn’t use any of the code, but the node canvas library was in the project) and it was having an issue with Commands.cs referencing TaskWizardWindow. This was because TaskWizardWindow is set to comment out itself if the project isn’t in the editor, Commands.cs however still references the class which in a production build, doesn’t exist, which causes a crash.
I fixed it by adding the same #if UNITY_EDITOR && !UNITY_WEBPLAYER to line 20 of Commands.cs (and the following #endif)
Just thought I should mention it!
Loving the extension, keep up the amaaazzzinngggg work!
Thanks a lot for the report. Commands.cs is placed under an “Editor” named folder though. I am wondering why the compiler complaint. In any case though, I will add the whole Commands class in a UNITY_EDITOR define in the next version as well, so to make sure it’s excluded regardless of the folder it lies within 😉
I am very glad you like NodeCanvas and for your positive feedback! Thank you!!
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.