Hello every,
I create a new project to test and install TMP 3.2.0-pre.8 then this error show up
Library\PackageCache\com.unity.textmeshpro@3.2.0-pre.8\Scripts\Runtime\TMP_InputField.cs(456,42): error CS0117: ‘RuntimePlatform’ does not contain a definition for ‘VisionOS’
any suggestion to fix this bug? thank you
What version of Unity are you using? Try updating to the latest or the latest patch version.
VisionOS is a new platform that may not be in some older versions.
thank you for replying.
I’m using Unity 2023.1.3f1 and cannot upgrade to latest version at the moment.
I checked the document here and saw that version 2022.3 RuntimePlatform already contains VisionOS but Unity version 2023.1 does not have VisionOS in RuntimePlatform. Is that a bug?
No. Support moved from the tech release 2023.1 to the next one 2023.2. 2022.3 is LTS so will still receive updates.
Hello! This is a reported bug and it’s being fixed already. In the meantime the easiest solution is to copy the TMP package code locally and edit the asmdef file to fix the problem. Sorry for the disruption!
thank you very much!