Search Issue Tracker
Won't Fix
Votes
1
Found in
2020.1
2020.2
2020.2.0a19
Issue ID
1266377
Regression
No
[Reflect] Standalone build fails with package errors if Unity Reflect is installed
Standalone build fails with Package errors when Unity Reflect package and projects are imported. Build fails even when Unity Reflect package is installed in an empty project. Refer the attached video
Steps to reproduce:
1) Create a new project
2) Window > Package Manager > Install Unity Reflect
3) Window > Reflect > Reflect Window
4) Update / Import project
5) File > Build Settings > Build for Standalone
Actual result: Builds fails with package errors
Expected result: Build should be completed successfully
Occurring in: 2020.2.0a19, 2020.1.0a1, 2020.1.0f1, 2020.1.0a1 with Reflect version 1.2.0-preview.26, 1.0.0-preview.11
2019.4.8f1 with package version 1.2.0 preview.26
Stack trace:
Library\PackageCache\com.unity.reflect@1.2.0-preview.26\Runtime\Utils\LoginResolver.cs(510,33): error CS1069: The type name 'Registry' could not be found in the namespace 'Microsoft.Win32'. This type has been forwarded to assembly 'Microsoft.Win32.Registry, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly.
Environment: Both Windows and Mac
-
Steve_Chamberlain
May 13, 2022 09:38
We managed to fix this just by adjusting the Api Compatibility Level to .Net 4.x, whilst staying on mono
-
adammpolak
Nov 20, 2021 12:26
Way to go @junaid-costain! That fixed it :)
-
junaid-costain
Jul 12, 2021 15:24
I fixed this issue by changing Scripting Backend to Il2CPP and Api Compat Level to .Net 4.x
-
DriesVrBase
Jan 08, 2021 13:50
This issue still persists on unity 2019.4. Is there a fix for this?
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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note:
Currently the only Unity version officially supported by Reflect is 2019.3 (see documentation). The above bug reports used 2020.x which is not supported yet