Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X, 2021.2.X
Votes
1
Found in
2020.3
2020.3.2f1
2021.1
Issue ID
1328995
Regression
No
[Android][IL2CPP] UnityLinker.exe fails to build a project when it contains MARS Companion Core and UI Toolkit packages
How to reproduce it:
1. Open the user's attached project "WanderingStar.zip"
2. Build and Run it on Android
3. Observe the Console window
Expected results: Building for Android succeeds
Actual results: Building for Android fails. Exception appears in the Console window:
Exception: Failed running ...\2021.1\2021.1.6f1_c0fade0cc7e9\Editor\Data\il2cpp\build/deploy/netcoreapp3.1/UnityLinker.exe @"..../<Project name>/Temp/StagingArea/assets/bin/Data/Managed/response.rsp"
stdout:
Fatal error in Unity CIL Linker
Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Unity.RuntimeSceneSerialization, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
Reproducible with: 2020.3.7f1, 2021.1.6f1
Could not test with: 2018.4.34f1, 2019.4.26f1 - UI Toolkit is not introduced yet, 2021.2.0a17 - due to the MARS error
Note:
- Issue not reproducible after removing a Unity MARS Companion Core package
- Reproducible with a new project, when it contains Unity MARS Companion Core and UI Toolkit packages
- After removing UI Toolkit package from the user's project, in 2021.2.0a17 MARS error remains: "Library/PackageCache/com.unity.mars@1.3.0/Runtime/Scripts/EditorComponents/SimulationRenderSettings.cs(86,34): error CS0266: Cannot implicitly convert type 'UnityEngine.Texture' to 'UnityEngine.Cubemap'. An explicit conversion exists (are you missing a cast?)"
Comments (3)
-
wyb314
Jul 15, 2022 11:49
This problem is in 2021.3.6f1c1
-
BlackBamboo
Mar 08, 2022 08:18
Still Found In 2020.3.25 f1
-
gyx920820
Sep 28, 2021 10:46
Still Found In 2020.3.19 f1c2
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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a3
Resolution Note (fix version 2021.2):
Scripting: Fix a crash in UnityLinker while processing the assembly override version of UnityEngine.UIElementsModule.dll
Fixed in 2021.2.0b10
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.18f1
Resolution Note (fix version 2020.3):
Fixed: 2020.3.17f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.31f1