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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.1):
Fixed with 2022.1.0b3, backported to 2021.2.8f1