Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Black screen when I build and run any Mars demo

Discussion in 'Unity MARS' started by flurp55, Oct 3, 2020.

  1. flurp55

    flurp55

    Joined:
    Sep 13, 2020
    Posts:
    3
    I just started evaluating Mars as we are trying to do an AR project. I tried building each of the MARS demos to try to see what they would look like live. I set PC as the build target knowing this is not the optimal (or target platform for our project) as a proof of life to show the other people on my team how easy it was. Every template runs great in both the simulator and the device view. Every template shows up as a black screen when I try to run it. You see the Unity splash screen then black. On the warehouse demo, you do see the text, but nothing else. I do all of my programming on my PC as it is my normal dev machine. I do have a Mac that I will do builds on when I start targeting iPhones but don't want to spend the extra $600 a year for the second Mars license until I know that it works. I would imagine it is some relatively simple fix, but I don't have the Unity/MARS experience to know what it is. Can someone please point me in the right direction? Thanks so much for your help!
     
  2. jmunozarUTech

    jmunozarUTech

    Unity Technologies

    Joined:
    Jun 1, 2020
    Posts:
    296
    Hello @flurp55,

    The black screen issue has to do with several things, but most likely is that you dont have installed ARKit/ARCore and ARFoundation (and they need to have the same versions) as shown in https://docs.unity3d.com/Packages/com.unity.mars-ar-foundation-providers@1.0/manual/index.html

    If this doesnt solve your issue, check on our FAQ (https://docs.unity3d.com/Packages/com.unity.mars@1.0/manual/FAQ.html) on the section
    I built my Scene to a device and all I see is a black screen. What went wrong?


    Hope this helps! :)
     
  3. Corfu

    Corfu

    Joined:
    Feb 26, 2018
    Posts:
    16