1.0.2 Patch Release - URP fixes and more

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.

2 Likes

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.

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?

@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 MARS with Universal Render Pipeline

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.


With these steps you should have a correctly rendering simulation view with URP.

@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

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.