1 min read

If you run into the obscure and painful problem that Unity tells you the “style/VrActivityTheme not found in AndroidManifest.xml” then fear not.  You do not need to spent half a day trying to track down the problem.  At some point you probably (temporarily) added Google’s DayDream as a supported VR Device in the Unity Player Settings, then removed it. Unfortunately, Unity didn’t fully clear up all the dependencies on DayDream, so it assumes that it still needs this VrActivityTheme (https://developers.google.com/vr/reference/vr-manifest) .  It doesn’t.  The simplest solution? Just add support for DayDream back into your player settings (that’s not a bad thing), Unity will correctly resolve the dependencies, and it will build and run once more. Sigh.

Would you like to beta test EyeSkills* or just follow what we are doing?


5 Comments

Leave a Reply to Atlas Cancel reply

  • Millions of thanks to you. I got stuck on this issue and I went through with your tip.

  • This solution didn’t work for me. Adding Daydream back in resulted in the same error. Instead, I found this to work for me:

    Remove all VR SDK’s, then uncheck the “Virtual Reality Supported” box. Build the app. If it builds successfully, re-check the VR supported box, then add whatever SDKs you wanted (in my case, Oculus and Cardboard). Built without issue after that.

    1. SomeCoder’s version is what worked for me… Remove VR SDK’s, build, re-add SDK’s, build. Thanks to you both!