Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
1
Found in
2022.1
2022.1.0a12
Issue ID
1379777
Regression
Yes
[UWP] Project fails to build when Development Build and Script Debugging options are ticked
Reproduction steps:
1. Open the attached project ("1379777R.zip")
2. Open Build Settings and tick "Development Build", "Script Debugging" options
2. Build the "SampleScene" to the UWP platform
Expected result: Build succeeds
Actual result: Build fails:
Stdout:
Error: IL2CPP error for method 'System.Boolean System.Runtime.InteropServices.WindowsRuntime.IBindableIteratorToIEnumeratorAdapter::System.Collections.IEnumerator.MoveNext()' in assembly '__Generated'
System.InvalidOperationException: Error while processing debug information. This often indicates that debug information in a .pdb or .mdb file is not correct.
Check the debug information corresponding to the assembly '__Generated'.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Unity.IL2CPP.MethodWriter.CollectSequencePoints(PrimaryCollectionContext context, MethodDefinition method, SequencePointCollector sequencePointCollector)
--- End of inner exception stack trace ---
at Unity.IL2CPP.MethodWriter.CollectSequencePoints(PrimaryCollectionContext context, MethodDefinition method, SequencePointCollector sequencePointCollector)
at Unity.IL2CPP.AssemblyConversion.PrimaryCollection.Steps.PerAssembly.SequencePointCollection.ProcessItem(GlobalPrimaryCollectionContext context, AssemblyDefinition item)
...
Reproducible with: 2022.1.0a16
Not reproducible with: 2020.3.24f1
Could not with: 2019.4.32f1 (OpenXR Plugin not supported), 2021.2.2f1 (errors are thrown in the Console window)
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
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
- Missing spaces in "Welcome to VR Mutiplayer Template Project" Welcome Dialog window
Resolution Note (fix version 2022.1):
Fixed with 2022.1.0b3, backported to 2021.2.8f1