Please or Register to create posts and topics.

Teeraland3 build error.

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:
  • a1.png

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.

S3p has reacted to this post.
S3p

Thankyou, for this fix

it worked

My pleasure 🙂