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. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Official 1.0.2 Patch Release - URP fixes and more

Discussion in 'Unity MARS' started by philc_unity, Jul 9, 2020.

  1. philc_unity

    philc_unity

    Unity Technologies

    Joined:
    Nov 16, 2018
    Posts:
    29
    Thanks for trying Unity MARS in this first month. Our latest patch release is out, with these key fixes:
    • Simulation Environment GameObject Inspectors are no longer locked when URP or Composite Fallback is enabled.
    • URP crash issue fixed when having Simulation View open while using URP.
    • Simulation Environment lighting will not be lost when undoing after environment is loaded or after editor nUnit tests are run.
    • Other bugfixes and quality-of-life improvements.
    More detail is provided at
    com.unity.mars/CHANGELOG.md


    You may upgrade existing projects using Package Manager, updating the version in your packages.json, or using MARS_Installer.unitypackage.

    Enjoy and let us know what you think.
     
    FutureSystems and jmunozarUTech like this.
  2. monoclesociety

    monoclesociety

    Joined:
    Jan 2, 2013
    Posts:
    8
    So we're still seeing the same issues with URP as 1.0.1, the textures still require switching over to URP/Lit, and the SimulatedPlaneMaterial isn't editable.

    This is simply not working with URP, and we're going to get charged for MARS without even being able to try it in our project.
     

    Attached Files:

  3. monoclesociety

    monoclesociety

    Joined:
    Jan 2, 2013
    Posts:
    8
    The Packages folder is also empty now in my project since updating, so I'll look into why that is as well. When can we expect URP to be supported out of the box?
     
  4. JonathanNUnity

    JonathanNUnity

    Unity Technologies

    Joined:
    Sep 27, 2016
    Posts:
    14
    @monoclesociety I wanted to make sure you were following a few steps for setting up Unity MARS and URP.
    1. Go to the `MARS` package in the `Package Manager` and make sure you are on version `1.0.2`, if not update to that version of MARS.
    2. Check and make sure the MARS Content folder has been copied into your project. Window -> MARS -> Import Content. If it is greyed out the content should have been already copied to Assets/MARS/Content
    3. Next you will need to update the materials in MARS to URP with Edit -> Render Pipeline -> Universal Render Pipelin -> Upgrade Project Material To UniversalRP Materials. You will want to use upgrade project since this will also update any materials in the Packages.
    4. You will need to manually change the x-ray materials to the URP Lit shader, These are found in Assets/MARS/Content/Shared/Materials.

    Instructions for fixing the missing visualizers is found in this thread https://forum.unity.com/threads/mars-with-universal-render-pipeline.918377/

    For the next version of MARS the visualizer shaders and the x-ray shaders have been updated to support URP so you will need to may need to delete the Assets/MARS/Content folder then reimport the MARS content with Window -> MARS -> Import Content
    You may also still need to update standard materials as described in step 3.
    upload_2020-7-21_12-7-13.png
    With these steps you should have a correctly rendering simulation view with URP.
     
  5. monoclesociety

    monoclesociety

    Joined:
    Jan 2, 2013
    Posts:
    8
    @JonathanNUnity

    [UPDATE]
    For a moment I thought that this was solved, however now I'm experiencing a crash trying to change the simulation view environment, and the ground is still in pink. It looks like leaving it open still crashes it.

    Have you thought about having a menu item for MARS that can switch Rendering type? In this instance it could look like:

    Window -> MARS -> Rendering -> URP
     
    Last edited: Jul 22, 2020
  6. monoclesociety

    monoclesociety

    Joined:
    Jan 2, 2013
    Posts:
    8
    So hey, I'm at the last day of my trial and this isn't working, so I'm cancelling. I really wanted this to work.