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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Resolution Note (fix version 2022.1):
Fixed with 2022.1.0b3, backported to 2021.2.8f1