Answer the question
In order to leave comments, you need to log in
Error 0234 in Unity 2D when building a program, how to fix it?
I did a 2D project in Unity. VisualStudio showed no errors, the game in the editor works perfectly. Tried to build for Windows but got the following errors:
- Assets\Scripts\PlayerMovement.cs(5,19): error CS0234: The type or namespace name 'WSA' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)
- Assets\Scripts\SpawnMovePoint.cs(4,19): error CS0234: The type or namespace name 'Build' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
- Error building Player because scripts had compiler errors
Can you tell me what the problem is?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question