View Issue Details

IDProjectCategoryView StatusLast Update
0004157NoesisGUIUnitypublic2025-05-15 15:51
ReporterRisingSunStudios Assigned Tosfernandez  
PrioritynormalSeveritycrash 
Status resolvedResolutionfixed 
Product Version3.2.7 
Target Version3.2.8Fixed in Version3.2.8 
Summary0004157: Constant crashes in Unity on recompile scripts and entering play mode
Description

I'm getting constant crashes in Unity 6 when either recompiling scripts or entering play mode. It will reload once, maybe twice, without crashing but then crashes consistently the next time Unity Editor recompiles or enters play mode.

I have tried with previous versions of Unity and several different projects and all crash the same.

Relevant part from log file:

Asset Pipeline Refresh (id=ea87f6227fafc7c42ae49fa65ecafdb9): Total: 0.011 seconds - Initiated by RefreshV2(AllowForceSynchronousImport)
SpriteAtlasPacking completed in 0.010084 sec
Reloading assemblies for play mode.
Reloading assemblies after forced synchronous recompile.
Begin MonoManager ReloadAssembly

=================================================================
    Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

=================================================================
    Managed Stacktrace:
=================================================================
      at <unknown> <0xffffffff>
      at Noesis.Extend:Noesis_ClearExtendTypes <0x000b2>
      at Noesis.Extend:Shutdown <0x00d5a>
      at Noesis.Extend:OnDomainUnload <0x00082>
      at <Module>:invoke_void_object_EventArgs <0x002d4>
      at System.AppDomain:DoDomainUnload <0x00099>
      at System.Object:runtime_invoke_void__this__ <0x00187>
=================================================================
Attached Files
crash.dmp (3,014,880 bytes)
Editor.log (2,951,859 bytes)
PlatformAny

Activities

jsantos

jsantos

2025-05-13 11:31

manager   ~0010634

Thanks for the dump, we'll take a look at it today.

Did this issue start happening suddenly, or has it always been present in your project?

RisingSunStudios

RisingSunStudios

2025-05-13 11:58

reporter   ~0010636

Thanks! It has always been present, although I don't recall if it happened with the trial 3.2.7 indie package or not, we only had that installed briefly

sfernandez

sfernandez

2025-05-15 11:39

manager   ~0010664

Do you have a minimal project that reproduces this issue?
Or perhaps you can share your project in private so we can properly debug what is happening.

It seems to be related to the definition of custom DependencyProperties and using OverrideMetadata, do you have that kind of code in your project?
I'll try to reproduce it myself anyways.

sfernandez

sfernandez

2025-05-15 12:07

manager   ~0010667

I was able to repro it, I'll work on a fix and will send you a patched library for you to test.

RisingSunStudios

RisingSunStudios

2025-05-15 12:09

reporter   ~0010668

Awesome, thank you =)

sfernandez

sfernandez

2025-05-15 12:45

manager   ~0010671

Here you have a library with this issue fixed: https://drive.google.com/file/d/1_CXkTw21AMvhzdBXtnAfI_2BnFVoG_01/view?usp=sharing
Please let me know if that solves your problems.

RisingSunStudios

RisingSunStudios

2025-05-15 14:40

reporter   ~0010674

I've recompiled scripts about 7-8 times, hot reloaded xaml and no crashes yet so it looks to be resolved!

Many thanks for that - it would get rather irritating after a while having to keep reloading the project

Issue History

Date Modified Username Field Change
2025-05-12 20:15 RisingSunStudios New Issue
2025-05-12 20:15 RisingSunStudios File Added: crash.dmp
2025-05-12 20:15 RisingSunStudios File Added: Editor.log
2025-05-13 08:35 RisingSunStudios Severity minor => crash
2025-05-13 08:37 RisingSunStudios Description Updated
2025-05-13 08:40 RisingSunStudios Description Updated
2025-05-13 09:33 sfernandez Description Updated
2025-05-13 09:33 sfernandez Assigned To => sfernandez
2025-05-13 09:33 sfernandez Status new => assigned
2025-05-13 09:33 sfernandez Target Version => 3.2.8
2025-05-13 11:31 jsantos Note Added: 0010634
2025-05-13 11:58 RisingSunStudios Note Added: 0010636
2025-05-15 11:39 sfernandez Status assigned => feedback
2025-05-15 11:39 sfernandez Note Added: 0010664
2025-05-15 12:03 RisingSunStudios Status feedback => assigned
2025-05-15 12:07 sfernandez Note Added: 0010667
2025-05-15 12:09 RisingSunStudios Note Added: 0010668
2025-05-15 12:45 sfernandez Status assigned => feedback
2025-05-15 12:45 sfernandez Note Added: 0010671
2025-05-15 14:40 RisingSunStudios Note Added: 0010674
2025-05-15 14:40 RisingSunStudios Status feedback => assigned
2025-05-15 15:51 sfernandez Status assigned => resolved
2025-05-15 15:51 sfernandez Resolution open => fixed
2025-05-15 15:51 sfernandez Fixed in Version => 3.2.8
2025-10-10 13:29 jsantos Category Unity3D => Unity