Search Issue Tracker
Fixed
Fixed in 1.5.0
Votes
1
Found in [Package]
1.5.0
Issue ID
MARS-1506
Regression
Yes
Unity 2022.2 cannot install Mars 1.5.0.
+Synopsis+
Using Unity 2022.2 I tried to install Mars 1.5.0 by importing the latest version of the installer package as described below. Console errors occurred and I am unable to invoke Mars windows.
+How to See the Bug+
Purge your package cache.
Use Unity Hub to make a new 3D project using Unity 2022.2.0b12 or 2022.2.0b14.
Assets > Import Package > Custom Package > MARS_Installer.unitypackage.
Console shows one error regarding non-existent type, followed by 43 errors concerning protection level; see errors below.
Package Manager shows Unity MARS 1.5.0 has been installed, along with AR Foundation 5.0.2.
However, there is no MARS sub-menu under Window. Nor is Window > Content Manager visible.
+Platform+
Unity 2022.2.0b12 or 2022.2.0b14
Mars 1.5.0
MacBook Pro Intel
+Excerpt of Console Errors+
Library/PackageCache/com.unity.runtime-scene-serialization@0.6.0-preview/Runtime/Internal/Visitors/JsonSceneWriter.cs(8,32): error CS0234: The type or namespace name 'Adapters' does not exist in the namespace 'Unity.Serialization.Json' (are you missing an assembly reference?)
Library/PackageCache/com.unity.runtime-scene-serialization@0.6.0-preview/Runtime/SerializationExtensions.cs(84,48): error CS0122: 'UnsafePrimitiveView' is inaccessible due to its protection level
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- 2D Renderer Breaks When Animating Material Property with MaterialPropertyBlock
- PlayModeStateChange.ExitingPlayMode is not logged when Play Mode is exited due to recompilation
- Crash on `anonymous namespace'::PrepareTreesAndWriteWindParamsJobData::Execute when entering Play Mode on a specific project
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
Resolution Note (fix version 1.5.0):
This is fixed by Runtime Scene Serialization 1.0.0-exp.3 which is expected to be available soon. This package version is a dependency of AR Companion Core 3.0.0-exp.3, which will also release soon.
After these updates to these two packages are released, they will be included by the Mars installer, eliminating this bug. The package manifest entries for these package versions are:
"com.unity.ar-companion-core": "3.0.0-exp.3",
"com.unity.runtime-scene-serialization": "1.0.0-exp.3",