View Revisions: Issue #1538

Summary 0001538: Unity Crash on Project Load
Revision 2019-08-19 16:41 by sfernandez
Description I'm getting a repeatable crash on Unity editor startup ... during project load. It appears to be related to an assertion from Noesis.

Editor.Log:

Assertion failed on expression: 'g_ThreadedGfxDevice'
Noesis.PropertyMetadata:.ctor(Object) (at Assets\NoesisGUI\Plugins\API\Proxies\PropertyMetadataExtend.cs:33)
StellarConquest.Presentation.Unity.UI.ViewboxGridControl:.cctor() (at Assets\User Interface\Controls\Viewbox Grid Control\ViewBoxGridControl.cs:10)

[C:\buildslave\unity\build\Runtime/GfxDevice/GfxDevice.cpp line 148]
(Filename: Assets/NoesisGUI/Plugins/API/Proxies/PropertyMetadataExtend.cs Line: 33)


The offending line of code is this:
   public static readonly DependencyProperty ScalingEnabledProperty = DependencyProperty.Register("ScalingEnabled", typeof(bool), typeof(ViewboxGridControl), new PropertyMetadata(true));

If I move the line of code the stack trace line number changes, too. So I think this is the line.

I am attaching log, dump files, and the Noesis user control that seems to cause the crash. I am going to look to see if I can stop the crash. I might be doing something crazy -- I'll take a look. I thought this might be useful since it's a fatal editor crash.

Revision 2019-08-16 00:30 by stonstad
Description I'm getting a repeatable crash on Unity editor startup ... during project load. It appears to be related to an assertion from Noesis.

Editor.Log:

Assertion failed on expression: 'g_ThreadedGfxDevice'
Noesis.PropertyMetadata:.ctor(Object) (at Assets\NoesisGUI\Plugins\API\Proxies\PropertyMetadataExtend.cs:33)
StellarConquest.Presentation.Unity.UI.ViewboxGridControl:.cctor() (at Assets\User Interface\Controls\Viewbox Grid Control\ViewBoxGridControl.cs:10)

[C:\buildslave\unity\build\Runtime/GfxDevice/GfxDevice.cpp line 148]
(Filename: Assets/NoesisGUI/Plugins/API/Proxies/PropertyMetadataExtend.cs Line: 33)


The offending line of code is this:
   public static readonly DependencyProperty ScalingEnabledProperty = DependencyProperty.Register("ScalingEnabled", typeof(bool), typeof(ViewboxGridControl), new PropertyMetadata(true));

If I move the line of code the stack trace line number changes, too. So I think this is the line.

I am attaching log, dump files, and the Noesis user control that seems to cause the crash. I am going to look to see if I can stop the crash. I might be doing something crazy -- I'll take a look. I thought this might be useful since it's a fatal editor crash.