Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2018.1.X
Votes
0
Found in
2018.1.0b5
Issue ID
996370
Regression
No
[WSA] Cannot retrieve reference rewriter mappings for ApiCompatibilityLevel.NET_Standard_2_0! when building under IL2CPP
Description
Steps to reproduce:
1. Open the attached project
2. Switch platform to Windows Store
3. Build
4. Observe the error
Actual results: Unable to build the project
Expected results: Build the project
Note:
.NET Standart introduced in 2018.1
Unable to test against 2018.2 due to another bug
Reproduced with: 2018.1.0b6
Fixed in: 2018.2.0a4
Backported to: 2018.1.0b10
Comments (1)
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
samlabs_lea
Sep 09, 2018 19:46
I believe that this is the same as the issue that I am experiencing.
When the project is set to .NET Standard 2.0 with both IL2CPP and .NET backends; on Window Universal App; a bunch of symbols are not being added when building the project. NET_STANDARD_2_0 is one such symbol.
When building to other platforms (iOS/Mac Standalone) the symbols seem to be properly defined.
To verify this issue simply use the following logic:
using UnityEngine;
public class TestScript
{
[RuntimeInitializeOnLoadMethod]
public static void Run()
{
#if NET_STANDARD_2_0
Debug.Log("Works as expected.");
#else
Debug.Log("Not working :/");
#endif
}
}