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
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
- Field is still marked as changed when changed back to its default state in UI Builder
- Crash on UnityEngine.UI.RawImage:OnPopulateMesh when playing Raw Image Texture animation with Sprite keyframes
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
}
}