Teeraland3 build error.
Quote from S3p on March 21, 2022, 11:44 amI use terraland3 , i use dotnet4 already , and i can play in editor
buit when i built it cannot, it show error
i attach picture
please consultant me
thank you
I use terraland3 , i use dotnet4 already , and i can play in editor
buit when i built it cannot, it show error
i attach picture
please consultant me
thank you
Uploaded files:Quote from terraunity on March 25, 2022, 11:47 amHi, that's a known issue for the current version. Simple fix is as follows:
The error comes from the TProjectSettings; this whole editor script should be wrapped up between:
#if UNITY_EDITOR
//codes...
#endif
this pre-processor so that you can make builds since it only needs to live in the editor and not builds, so simply open it up in IDE and add #if UNITY_EDITOR at the first line, and add #endif at the last line after all the codes, save it and get back to Unity to recompile.
Hi, that's a known issue for the current version. Simple fix is as follows:
The error comes from the TProjectSettings; this whole editor script should be wrapped up between:
#if UNITY_EDITOR
//codes...
#endif
this pre-processor so that you can make builds since it only needs to live in the editor and not builds, so simply open it up in IDE and add #if UNITY_EDITOR at the first line, and add #endif at the last line after all the codes, save it and get back to Unity to recompile.
Quote from terraunity on March 27, 2022, 8:36 amMy pleasure 🙂
My pleasure 🙂