Have a problem with my Vision Pro test app. Not sure if it’s related to Polyspatial or not, or special project settings for the Vision Pro, but it works perfectly fine in a fresh URP project:
I have a project with an animation which animates a material (eg. change cube from grey to red). This looks good in preview, but when I click play, the material does NOT animate in the Game window (but looks perfectly good in the preview window).
To make this even more mysterious, when I start a fresh Unity project (URP), and do EXACTLY the same thing, it does work. But in my original project (also URP, but based off of one of the VisionPro Sample projects), it does not. There must be some kind of setting or so which I am missing and it’s probably really silly once I know what it is.
Attached are two video screenshots:
- My original video showing how the material animates correctly in preview but not in game
- A fresh project I created as a test where it works perfectly fine in both preview and in game
Any help would be much appreciated. I had this happen in the past when I tried to animate a materials transparency, but never figured out what it was.