a crash

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
User avatar
violetnred
Posts: 7
Joined: Fri Jul 22, 2022 5:15 pm

a crash

Post by violetnred »

crashed after entering a crypt. crashed once before under different circumstances - but also when entering some house, i think.
Attachments
Player.zip
(47.99 KiB) Downloaded 50 times

User avatar
Jay_H
Posts: 4070
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: a crash

Post by Jay_H »

Looking through the log file, it appears you have mods added into your game! This is very likely what's causing your crash. This section can't help figure out modded crashes, so you'll have to find out what mod causes it and take it to the mod creator.

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

Re: a crash

Post by pango »

Code: Select all

0x000002219235E14A (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Object:FindObjectsOfType (System.Type)
0x000002219235E043 (Mono JIT Code) UnityEngine.Object:FindObjectOfType (System.Type)
0x000002219235DFA3 (Mono JIT Code) UnityEngine.Object:FindObjectOfType<T_REF> ()
They have been some reports of crashes around FindObjectsOfType,
viewtopic.php?t=5786
viewtopic.php?t=5575
viewtopic.php?t=5263

too bad the stack trace does not give much clue about involved mod, as Jay said it would be worth removing (or adding) mods to determine what brings unstability.

Also of note, even if probably unrelated:

Code: Select all

The AssetBundle 'StreamingAssets\Mods\VampiricOptions\osx.dfmod' can't be loaded because another AssetBundle with the same files is already loaded. 
(Filename:  Line: 451)
The AssetBundle 'StreamingAssets\Mods\VampiricOptions\win.dfmod' can't be loaded because another AssetBundle with the same files is already loaded. 
(Filename:  Line: 45)
VampiricOptions bundles versions compiled for each OS, only copy the .dfmod for Windows.

And it looks like DaggerfallBestiary uses locale-dependant parsing methods where it shouldn't, so it breaks with your russian locale:

Code: Select all

Error while parsing MonsterBase.mdb:10: System.FormatException: Input string was not in a correct format.
  at System.Number.ParseSingle (System.String value, System.Globalization.NumberStyles options, System.Globalization.NumberFormatInfo numfmt) [0x00083] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Single.Parse (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Single.Parse (System.String s) [0x0000b] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Linq.Utilities+<>c__DisplayClass2_0`3[TSource,TMiddle,TResult].<CombineSelectors>b__0 (TSource x) [0x00012] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToArray () [0x00012] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at DaggerfallBestiaryProject.BestiaryMod.ParseFloatArrayArg (System.String Arg, System.String Context) [0x000d0] in <b3d7ac2f5bd34673bb1fde2758d872dc>:0 
  at DaggerfallBestiaryProject.BestiaryMod.ParseCustomEnemies () [0x012d5] in <b3d7ac2f5bd34673bb1fde2758d872dc>:0  
Error while parsing MonsterBase.mdb:29: System.FormatException: Input string was not in a correct format.
  at System.Number.ParseSingle (System.String value, System.Globalization.NumberStyles options, System.Globalization.NumberFormatInfo numfmt) [0x00083] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Single.Parse (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Single.Parse (System.String s) [0x0000b] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Linq.Utilities+<>c__DisplayClass2_0`3[TSource,TMiddle,TResult].<CombineSelectors>b__0 (TSource x) [0x00012] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToArray () [0x00012] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at DaggerfallBestiaryProject.BestiaryMod.ParseFloatArrayArg (System.String Arg, System.String Context) [0x000d0] in <b3d7ac2f5bd34673bb1fde2758d872dc>:0 
  at DaggerfallBestiaryProject.BestiaryMod.ParseCustomEnemies () [0x012d5] in <b3d7ac2f5bd34673bb1fde2758d872dc>:0  
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
violetnred
Posts: 7
Joined: Fri Jul 22, 2022 5:15 pm

Re: a crash

Post by violetnred »

thank you for pointing out all of these things!

didn't realize i had bestiary. and i actually don't. and i don't recall downloading it. intersting.

13thsyndicate
Posts: 75
Joined: Sat Jul 25, 2020 5:53 pm

Re: a crash

Post by 13thsyndicate »

Are you using the GOG cut? It comes prepackaged with mods including Bestiary IIRC, and is notorious for having stability issues.

Post Reply