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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment