Search Issue Tracker
Fixed in 5.4.2
Votes
1
Found in
5.4.0f3
Issue ID
827446
Regression
Yes
[WSA][UWP] Building script which has nested generic class causes reference rewriter errors
Steps to reproduce:
1. Open attached project
2. Build it to UWP or WSA
3. Notice Reference rewriter errors in console
Reference rewriter: Error: method `System.Void TestNamespace.TestBug`1/EInner<System.Int32>::Unity_Serialize(System.Int32)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void TestNamespace.Test::Unity_Serialize(System.Int32).
UnityEngine.Debug:LogError(Object)
PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:573)
PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:126)
UnityEditor.PostprocessBuildPlayer:Postprocess(BuildTarget, String, String, String, Int32, Int32, String, String, BuildOptions, RuntimeClassRegistry, BuildReport)
Reference rewriter: Error: method `System.Void TestNamespace.TestBug`1/EInner<System.Int32>::Unity_Deserialize(System.Int32)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void TestNamespace.Test::Unity_Deserialize(System.Int32).
UnityEngine.Debug:LogError(Object)
PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:573)
PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:126)
UnityEditor.PostprocessBuildPlayer:Postprocess(BuildTarget, String, String, String, Int32, Int32, String, String, BuildOptions, RuntimeClassRegistry, BuildReport)
Etc...
Reproduced with: 5.4.0p4, 5.5.0b2
Not reproducible: 5.3.6p4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The tag adder functionality does not work if a space is entered instead of a name
- Errors thrown in the Console when configuring In-App Purchases package
- Longer Scaler Profile names go out of the"Scaler Profilers" section
- AI Navigation window UI elements overlap when the AI Navigation window is docked and resized
- Editor freezes after some time when using NavMeshQuery::Raycast
Add comment