The error is not about moving NodeCanvas folder into “Standard Assets”, but rather for having selected Web Player as build option. I forgot to place derectives in this part.
Please open up GraphInspector.cs and place the contents of the method ShowJsonImportExport (where the errors show), within:
1
2
3
4
5
6
7
8
9
voidShowJsonImportExport(){
#if !UNITY_WEBPLAYER
//code here..
#endif
}
You will no more see the errors and be able to have NodeCanvas in Standard Assets as well.
BUT, you will have a problem with the Inspectors, because Unity requires that the inspector scripts are placed directly under an ‘Editor’ folder that is placed under “Standard Assets”. I might have to rethink the folder structure for that.
Cheers!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.