Access Violation Error Crashes

Post here if you need help getting started with Daggerfall Unity or just want to clarify a potential bug. Questions about playing or modding classic Daggerfall should be posted to Community.
Post Reply
thebunnyrules
Posts: 23
Joined: Mon Apr 04, 2022 11:33 pm

Access Violation Error Crashes

Post by thebunnyrules »

Hello, I'm getting DFU crashes once to twice a day. Something about the instruction referencing a memory address that could not be read.

Image

What would be the best way for me to help you trouble shoot it? I've attached the latest crashlog.
Attachments
Crash_2022-04-23_215704824.zip
(1.34 MiB) Downloaded 53 times

User avatar
pango
Posts: 3347
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Access Violation Error Crashes

Post by pango »

Did you upgrade to 0.13.5 by overwriting 0.13.4? Because it's not the recommended way of upgrading.

I find it suspicious that one thread was executing EnhancedSky.Noise.Generate() at the time of the crash, does that happen during each crash?

What releases of the different mods are you using? I wonder if they're all compatible with 0.13.5

Code: Select all

ModManager - started loading mod: Distant Terrain 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Error (234): The type or namespace name `PostProcessing' does not exist in the namespace `UnityEngine'. Are you missing an assembly reference?
Error (): Object reference not set to an instance of an object
Variants of this message happen several times during mods loading, not sure what it means.

Code: Select all

Fallback handler could not load library F:/Daggerfall Unity/DU Main Files/dfu_windows_64bit-v0.13.4-beta/DaggerfallUnity_Data/Mono/data-0000000281195950.dll
Not sure in what mod it happens, but doesn't look good, and spams the logs:

Code: Select all

NullReferenceException: Object reference not set to an instance of an object
  at SpellcastStudios.TODBackgrounds.TODBackgrounds+BackgroundScreen.Update () [0x0001c] in <de3559f715a84711b0cd68575febb266>:0 
  at SpellcastStudios.TODBackgrounds.TODBackgrounds.LateUpdate () [0x0000b] in <de3559f715a84711b0cd68575febb266>:0 
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

Xium
Posts: 16
Joined: Fri Jun 17, 2022 1:12 pm

Re: Access Violation Error Crashes

Post by Xium »

I have a similar problem

Code: Select all

NullReferenceException: Object reference not set to an instance of an object
  at SpellcastStudios.TODBackgrounds.TODBackgrounds+BackgroundScreen.Update () [0x0001c] in <73e3768dc62c4853b83859d975aac530>:0 
  at SpellcastStudios.TODBackgrounds.TODBackgrounds.LateUpdate () [0x0000b] in <73e3768dc62c4853b83859d975aac530>:0 
Were you able to identify or fix it?

User avatar
Arneb
Posts: 166
Joined: Sun Mar 08, 2020 9:38 pm

Re: Access Violation Error Crashes

Post by Arneb »

Spellcast Studios is Josh Camas stuff.
Do you have Better Ambiance enabled, by any chance?

Post Reply