How to prevent a Unity compilation error when using Jenkins and Plastic SCM

138 views Asked by At

So we are trying to add in CI to our product development and are having an issue with Plastic, Unity and Jenkins. The error we are seeing is:

error CS0246: The type or namespace name 'Some_Input_Sources' could not be found (are you missing a using directive or an assembly reference?).

The main issue here is when we get the project using the Plastic SCM UI and open in Unity it works fine (no compilation errors, it builds and runs as expected), but when the source is retrieved using Jenkins and the build is attempted it throws that compilation error.

I even attempted to open the project that Jenkins gets manually and it too shows the error.

What am I missing here?

0

There are 0 answers