Unity build differs from running in editor mode

0 votes
asked Jan 31 by mingxie (14 points)
I have a unity project looks fine running in editor mode. The Unity build has issues: Canvas, in screen mode, does not show; an object disappears, which has a big scale factor; some objects (scale factor 1) are a lot smaller than in the editor mode. I am using Unity 2017.3.0f3
commented Feb 16 by AlexShorey (194 points)
Hi Mingxie,

UI Canvases in "Screen Mode" will not work with zspace at this time. What you can do instead, is match up a world space UI canvas with the zero parallax of the viewport. Here's a short script to assist with that.

https://drive.google.com/file/d/1lREdM8HNJMKPqcMiIHgy0nOj7eLCg6vf/view?usp=sharing



In terms of objects not being proper size, we'll need more details. Are all objects uniformly too big or too small? What types of objects are too big? What types of objects are too small? What are you setting zCore's ViewerScale to?

Do any of these scale issues happen in zCore's custom preview window, or do they only show up after the project is built?
...