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
- HDRP 6-way VFX Shader is lit incorrectly when World coordinates are used
- 2D Sprite Renderer in front is affected by Sprites in the background when using Sorting Layers and a Shadow Caster 2D with Self Shadow
- Modifying UI Prefab child's Height only confirms the first 1 or 2 digits when the Scene is newly opened or the Prefab is newly created
- ProfilingSampler.Get() returns null and makes the Player only render black when building a Release Build
- Search text field visual controls for the Path binding in an Input Actions Asset is misaligned
Resolution Note (fix version 2022.1):
Fixed with 2022.1.0b3, backported to 2021.2.8f1