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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment