Daggerfall Unity 0.10.26 crash on Linux Mint
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Daggerfall Unity 0.10.26 crash on Linux Mint
I've made a small hotfix that will hopefully correct this crash. When you get a chance, can you please download the updated Linux 64-bit build below and let me know if that helps?
https://developer.cloud.unity3d.com/sha ... W1ZZsvHqEI
If that fixes problem, I'll update other builds with hotfix for affected users.
https://developer.cloud.unity3d.com/sha ... W1ZZsvHqEI
If that fixes problem, I'll update other builds with hotfix for affected users.
- pango
- Posts: 3359
- Joined: Wed Jul 18, 2018 6:14 pm
- Location: France
- Contact:
Re: Daggerfall Unity 0.10.26 crash on Linux Mint
Were addressables rebuilt for all platforms?
- Attachments
-
- linux-addressables.zip
- (529 Bytes) Downloaded 83 times
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Daggerfall Unity 0.10.26 crash on Linux Mint
Addressables were rebuilt for all platforms, and I manually confirmed text added before rebuild is displayed correctly in-game in live builds on my test machines and VMs before release.
Not sure exactly why this problem manifests in jefetienne's Linux environment and not in others. Hopefully the hotfix build above will help resolve.
Not sure exactly why this problem manifests in jefetienne's Linux environment and not in others. Hopefully the hotfix build above will help resolve.
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: Daggerfall Unity 0.10.26 crash on Linux Mint
For what it's worth I downloaded the Linux version of 0.10.26 and it runs fine on my Linux system which is Mint 18.3
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods
- Jay_H
- Posts: 4072
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Daggerfall Unity 0.10.26 crash on Linux Mint
Yes! I can load the game with that linked version, but not standard 0.10.26.Interkarma wrote: ↑Tue Sep 22, 2020 6:21 am I've made a small hotfix that will hopefully correct this crash. When you get a chance, can you please download the updated Linux 64-bit build below and let me know if that helps?
https://developer.cloud.unity3d.com/sha ... W1ZZsvHqEI
If that fixes problem, I'll update other builds with hotfix for affected users.
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Daggerfall Unity 0.10.26 crash on Linux Mint
Thanks Jay! I've updated Live Builds for all platforms to contain this hotfix. Still 0.10.26, only build date is 22 Sep 2020.
Hopefully jefetienne will be up and running too once he gets a chance to check.
Hopefully jefetienne will be up and running too once he gets a chance to check.
- jefetienne
- Posts: 170
- Joined: Thu Jan 16, 2020 8:14 pm
- Location: Gallomont, Wayrest
- Contact:
Re: Daggerfall Unity 0.10.26 crash on Linux Mint
That actually worked (sort of)!! There's about a half-second of the empty sky and then it loads the menu properly. However, running the game has "<LocalText-NotFound>" everywhere. Here is my log where I first get the error and later proceeds to get my Arena2 folder:Interkarma wrote: ↑Tue Sep 22, 2020 6:21 am I've made a small hotfix that will hopefully correct this crash. When you get a chance, can you please download the updated Linux 64-bit build below and let me know if that helps?
https://developer.cloud.unity3d.com/sha ... W1ZZsvHqEI
If that fixes problem, I'll update other builds with hotfix for affected users.
Code: Select all
NullReferenceException: Object reference not set to an instance of an object
at UnityEngine.ResourceManagement.AsyncOperations.InitalizationObjectsOperation.Execute () [0x00010] in <82c845e451344e0c9c5636541668a20b>:0
at UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1[TObject].InvokeExecute () [0x00000] in <08812405b7d44aeab6cfab0c46c6dbf5>:0
at UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1[TObject].Start (UnityEngine.ResourceManagement.ResourceManager rm, UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle dependency, DelegateList`1[T] updateCallbacks) [0x00068] in <08812405b7d44aeab6cfab0c46c6dbf5>:0
at UnityEngine.ResourceManagement.ResourceManager.StartOperation[TObject] (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1[TObject] operation, UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle dependency) [0x00000] in <08812405b7d44aeab6cfab0c46c6dbf5>:0
at UnityEngine.AddressableAssets.Initialization.InitializationOperation.CreateInitializationOperation (UnityEngine.AddressableAssets.AddressablesImpl aa, System.String playerSettingsLocation, System.String providerSuffix) [0x000d5] in <82c845e451344e0c9c5636541668a20b>:0
at UnityEngine.AddressableAssets.AddressablesImpl.InitializeAsync (System.String runtimeDataPath, System.String providerSuffix, System.Boolean autoReleaseHandle) [0x000e8] in <82c845e451344e0c9c5636541668a20b>:0
at UnityEngine.AddressableAssets.AddressablesImpl.InitializeAsync () [0x00021] in <82c845e451344e0c9c5636541668a20b>:0
at UnityEngine.AddressableAssets.AddressablesImpl.get_ChainOperation () [0x00008] in <82c845e451344e0c9c5636541668a20b>:0
at UnityEngine.AddressableAssets.AddressablesImpl.LoadAssetsAsync[TObject] (System.Object key, System.Action`1[T] callback) [0x00008] in <82c845e451344e0c9c5636541668a20b>:0
at UnityEngine.AddressableAssets.Addressables.LoadAssetsAsync[TObject] (System.Object key, System.Action`1[T] callback) [0x00000] in <82c845e451344e0c9c5636541668a20b>:0
at UnityEngine.Localization.Settings.LocalesProvider.get_PreloadOperation () [0x00032] in <3f9567635a194f8bb751bef45487fc1e>:0
at UnityEngine.Localization.Settings.LocalizationSettings.GetSelectedLocaleAsync () [0x00030] in <3f9567635a194f8bb751bef45487fc1e>:0
at UnityEngine.Localization.Settings.LocalizationSettings.get_SelectedLocaleAsync () [0x00005] in <3f9567635a194f8bb751bef45487fc1e>:0
at DaggerfallWorkshop.Game.TextManager.HasLocalizedFont (DaggerfallWorkshop.Game.UserInterface.DaggerfallFont+FontName fontName) [0x0000d] in <251770f5c1b7401a8ca13ad795f04706>:0
at DaggerfallWorkshop.Game.DaggerfallUI.GetFont (DaggerfallWorkshop.Game.UserInterface.DaggerfallFont+FontName fontName) [0x00005] in <251770f5c1b7401a8ca13ad795f04706>:0
at DaggerfallWorkshop.Game.DaggerfallUI.get_DefaultFont () [0x00005] in <251770f5c1b7401a8ca13ad795f04706>:0
at DaggerfallWorkshop.Game.UserInterface.ToolTip..ctor () [0x00038] in <251770f5c1b7401a8ca13ad795f04706>:0
at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallBaseWindow..ctor (DaggerfallWorkshop.Game.UserInterface.IUserInterfaceManager uiManager, System.Int32 screenWidth, System.Int32 screenHeight) [0x000a2] in <251770f5c1b7401a8ca13ad795f04706>:0
at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallPopupWindow..ctor (DaggerfallWorkshop.Game.UserInterface.IUserInterfaceManager uiManager, DaggerfallWorkshop.Game.UserInterface.IUserInterfaceWindow previousWindow, System.Int32 screenWidth, System.Int32 screenHeight) [0x00012] in <251770f5c1b7401a8ca13ad795f04706>:0
at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallPauseOptionsWindow..ctor (DaggerfallWorkshop.Game.UserInterface.IUserInterfaceManager uiManager, DaggerfallWorkshop.Game.UserInterface.IUserInterfaceWindow previousWindow) [0x00049] in <251770f5c1b7401a8ca13ad795f04706>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <fb001e01371b4adca20013e0ac763896>:0
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <fb001e01371b4adca20013e0ac763896>:0
at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in <fb001e01371b4adca20013e0ac763896>:0
at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00213] in <fb001e01371b4adca20013e0ac763896>:0
at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00095] in <fb001e01371b4adca20013e0ac763896>:0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at DaggerfallWorkshop.Game.UserInterfaceWindows.UIWindowFactory.GetInstance (DaggerfallWorkshop.Game.UserInterfaceWindows.UIWindowType windowType, System.Object[] args) [0x0000f] in <251770f5c1b7401a8ca13ad795f04706>:0
at DaggerfallWorkshop.Game.UserInterfaceWindows.UIWindowFactory.GetInstance (DaggerfallWorkshop.Game.UserInterfaceWindows.UIWindowType windowType, DaggerfallWorkshop.Game.UserInterface.IUserInterfaceManager uiManager, DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallBaseWindow previous) [0x0000f] in <251770f5c1b7401a8ca13ad795f04706>:0
at DaggerfallWorkshop.Game.DaggerfallUI.InstantiatePersistentWindowInstances () [0x00000] in <251770f5c1b7401a8ca13ad795f04706>:0
at DaggerfallWorkshop.Game.DaggerfallUI.Update () [0x0007c] in <251770f5c1b7401a8ca13ad795f04706>:0
(Filename: <82c845e451344e0c9c5636541668a20b> Line: 0)
requesting resize 1920 x 1080
Using native desktop resolution 1920 x 1080
requesting fullscreen 1920 x 1080 at 0 Hz
Desktop is 1920 x 1080 @ 60 Hz
Exception encountered in operation UnityEngine.ResourceManagement.ResourceManager+CompletedOperation`1[System.Collections.Generic.IList`1[UnityEngine.Localization.Locale]], result='', status='Failed': Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=Locale, Type=UnityEngine.Localization.Locale
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Can not preload when `LocalizationSettings.SelectedLocale` is null.
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Can not preload when `LocalizationSettings.SelectedLocale` is null.
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 5.201153 ms
DFTFU 1.8.9: Found valid arena2 path at '/path/to/arena2/.
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Daggerfall Unity 0.10.26 crash on Linux Mint
Not sure why you're experiencing this on your system. The locale text not found message is also related to async loading of data. It seems like your environment has an issue with addressables for some reason.
I have no further suggestions at this time. About to head to bed myself now, hopefully some progress can be made for you tomorrow.
Edit: I'm pretty sure what's happening is the default locale selector isn't finding a locale for your system. I'll dig into this some more when I can.
I have no further suggestions at this time. About to head to bed myself now, hopefully some progress can be made for you tomorrow.
Edit: I'm pretty sure what's happening is the default locale selector isn't finding a locale for your system. I'll dig into this some more when I can.
- jefetienne
- Posts: 170
- Joined: Thu Jan 16, 2020 8:14 pm
- Location: Gallomont, Wayrest
- Contact:
Re: Daggerfall Unity 0.10.26 crash on Linux Mint
This seems to be a Linux Mint issue as I tried the new hotfix on XFCE 20 on another computer and got the same problem, but when I tried the live USB version of it, it worked oddly.
I wouldn't be surprised if this is partly because I'm
a monolingual speaker from the US who is privileged enough to not need to touch any system localization features and something about Mint might not be installing a proper locale text when I actually installed the OS because I didn't change the default locale configurations.
This still could be mostly a Unity issue that doesn't tackle this edge case, but maybe we should see about falling back to "English (en)" in the project?
I wouldn't be surprised if this is partly because I'm
a monolingual speaker from the US who is privileged enough to not need to touch any system localization features and something about Mint might not be installing a proper locale text when I actually installed the OS because I didn't change the default locale configurations.
This still could be mostly a Unity issue that doesn't tackle this edge case, but maybe we should see about falling back to "English (en)" in the project?
- pango
- Posts: 3359
- Joined: Wed Jul 18, 2018 6:14 pm
- Location: France
- Contact:
Re: Daggerfall Unity 0.10.26 crash on Linux Mint
Works fine for me (Linux Mint 20.4 Cinnamon).
Didn't have the opportunity to test the first release, so I can't compare.
Didn't have the opportunity to test the first release, so I can't compare.
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart