- Home /
Unity Cloud build error BUT manual builds work fine - CS0246: The type or namespace name `Class name here' could not be found
Hi there - I'm encountering a Unity Cloud build issue that does not occur in-editor or when manually building to device:
error CS0246: The type or namespace name `Class name here' could not be found. Are you missing a using directive or an assembly reference?
The class exists as otherwise I couldn't build to device. Both the class referencing this "missing" class are Monobehaviours. Both work fine when building direct to Android and iOS. There is nothing special about either class... they don't use any fancy Using statements or references to .dlls (I mention as most of the other questions on this topic reference dlls).
I really can't think of any other areas to look into. Any ideas as to what to look into would be greatly appreciated!
Your answer
Follow this Question
Related Questions
How to add files in Unity Cloud that are not part of the Git repository? 0 Answers
Distribute terrain in zones 3 Answers
Unity 2017.3.1f1 Cloud Build Deadlock with Unit Testing and .NET 4.6 1 Answer
[Cloud build] iOS build error after changing compilation settings from Xcode 8.3 to Xcode 9+ 0 Answers
How to use Cloud Build without Unexpected Build Warnings? 1 Answer