Cloud Build confuses locally declared types with other types

Hello,
I am trying to use Cloud Build for Web Player builds but, while on my local machine I can build successfully, Cloud Build fails to build.

In the Cloud Build log I get the error:

The problem is that in a script file I define an enum called Color. In the same file I have a “using UnityEngine;” instruction. In my local machine everything works, because it seems that the priority is given to the locally defined Color enum. On Cloud Build it seems that the local enum is confused with UnityEngine.Color.

Thank you in advance for your answer. :slight_smile:

Hey K1kk0z90_Unity
Can you direct message me a link to your project to see if I can’t figure out what might be causing this issue?

Thanks,
Ryan

1 Like

I’ve just sent you a private message.