Forum rules - please read before posting.

Play button stopped working

Hi! I was trying to play and run my build but the play button of my main menu suddenly stopped working. Hover/click don't work at all when it did before and my other buttons work fine, including the quit game function. I did not change anything in the menu script, only made changes to my next scene. It was able to play the game before but I am not sure where I went wrong. Here are the errors I am receiving when I try to build:

Shader error in 'TextMeshPro/Mobile/Distance Field': Couldn't open include file 'TMPro_Properties.cginc'. at line 93

Error building Player: Shader error in 'TextMeshPro/Mobile/Distance Field': Couldn't open include file 'TMPro_Properties.cginc'. at line 93

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ce] in /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:193
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:94
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun () (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:180)

I am really new to this and just starting with Adventure Creator so I am sorry if I am not making my issues very clear. I appreciate any help!

Comments

  • The error messages are coming from TextMeshPro, rather than AC.

    A similar thread on the Unity forums about this can be found here. Try the suggested fix of re-importing your font's shader asset, or the "TMP Essential Resources".

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.