[BUG] ThirdPersonController3.0.17p1: DefineCompilerSymbols.cs(163,36): error CS0103: The name 'NamedBuildTarget' does not exist in the current context

roelb

New member
Hello,

The Opsive Third Person Controller (version 3.0.17p1) gives an error after a fresh import/install in Unity 2023.1.16f1.

Code:
Assets\Opsive\UltimateCharacterController\Editor\Utility\DefineCompilerSymbols.cs(163,36): error CS0103: The name 'NamedBuildTarget' does not exist in the current context
Assets\Opsive\UltimateCharacterController\Editor\Utility\DefineCompilerSymbols.cs(188,36): error CS0103: The name 'NamedBuildTarget' does not exist in the current context

Fixed with:

L:12
Code:
#if UNITY_2023_1_OR_NEWER
    using UnityEditor.Build;
#endif

Can this be fixed please in a next update?

Thanks in advance! :)

Best regards, Roel
 
Top