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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
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
}
}