Script losing reference to objects on Windows Store build

Hello there,

We’re making our Window Store build and our script in the editor is losing it’s reference to some objects in the scene when we compile the UWP generated project. These objects are set in the editor before we compile the project.

One thing we noticed is the object that loses the reference is derived from a base class, which has some references binded to it. The references being held by the base class are not being lost but the ones held by the derived class are.

This only happens in the built version of the .sln that is produced by Unity and not while playing in editor.

Our unity version is 5.5.1p4.

Has anyone had this issue before?

Thanks!

Are those classes in DLLs or just in C# files in your project? Are you able to reproduce this in a separate (smaller) project outside of your main project (that would make the investigation much easier)?

They are neither, they are GameObjects that are in the scene and then linked via the inspector window to the script.

In an email to Unity QA I attached the project file for a different bug but the same project should also have this issue in it. It is bug #900588. If you need additional repro steps I can PM them to you.