CTD after exiting Flashlight Settings

@SirDigby {Mod Name} Crash report --> FactoryGameSteam_FlashlightSettings_Win64_Shipping!TSet<TTuple<FString,UConfigProperty *>,TDefaultMapHashableKeyFuncs<FString,UConfigProperty ,0>,FDefaultSetAllocator>::FindIndexByHash<FString>() [C:\Program Files\Unreal Engine - CSS\Engine\Source\Runtime\Core\Public\Containers\Set.h:906] FactoryGameSteam_FlashlightSettings_Win64_Shipping!SetConfigProp<float,UConfigPropertyFloat>() [C:\Code\SatisfactoryModLoader-1.0\Mods\FlashlightSettings\Source\FlashlightSettings\Private\FlashlightSettingsBPFunctionLib.cpp:22] FactoryGameSteam_FlashlightSettings_Win64_Shipping!UFlashlightSettingsBPFunctionLib::StoreFlashlightSettings() [C:\Code\SatisfactoryModLoader-1.0\Mods\FlashlightSettings\Source\FlashlightSettings\Private\FlashlightSettingsBPFunctionLib.cpp:27] FactoryGameSteam_FlashlightSettings_Win64_Shipping!UFlashlightSettingsBPFunctionLib::execStoreFlashlightSettings() [C:\Code\SatisfactoryModLoader-1.0\Mods\FlashlightSettings\Intermediate\Build\Win64\FactoryGameSteam\Inc\FlashlightSettings\UHT\FlashlightSettingsBPFunctionLib.gen.cpp:47] FactoryGameSteam_CoreUObject_Win64_Shipping!ProcessLocalScriptFunction() [C:\BuildAgent\work\9fc8da665efb5ffd\UE4\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1225] FactoryGameSteam_CoreUObject_Win64_Shipping!ProcessScriptFunction<void (__cdecl)(UObject *,FFrame &,void *)>() [C:\BuildAgent\work\9fc8da665efb5ffd\UE4\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1055] FactoryGameSteam_CoreUObject_Win64_Shipping!UObject::execLocalVirtualFunction() [C:\BuildAgent\work\9fc8da665efb5ffd\UE4\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:3234] Happens no matter which method is used to exit the settings; pressing escape, pressing x on the UI, or re-pressing the hotbind
Solution:
TL;DR recompiling the mod fixed the issue
Jump to solution
81 Replies
SirDigby
SirDigby4w ago
Does it happen every time?
Bababooie
BababooieOP4w ago
Yup
SirDigby
SirDigby4w ago
Awesome. Thanks for the report
Bababooie
BababooieOP4w ago
No worries, fingers crossed for a fix being not too bothersome
Rex
Rex4w ago
Do you have a full log?
FICSIT-Fred
FICSIT-Fred4w ago
It has been attached to this message. -# Responding to Crash found in FactoryGame.log triggered by @SirDigby {Mod Name}
Rex
Rex4w ago
Whew Okay, let me try to reproduce because this doesn't make any sense
SirDigby
SirDigby4w ago
@Bababooie {Class::Null} are you on SML 3.1?
Rex
Rex4w ago
3.1 or 3.10?
Bababooie
BababooieOP4w ago
3.10, yeah
Rex
Rex4w ago
Can you please send the config file for the mod? e.g. C:\Program Files (x86)\Steam\steamapps\common\Satisfactory\FactoryGame\Configs\FlashlightSettings.cfg It's in the game installation dir
Bababooie
BababooieOP4w ago
uno momento
Bababooie
BababooieOP4w ago
I'll get another crash log now as well
Rex
Rex4w ago
Hmmm, file looks like it has all the stuff in the section
FICSIT-Fred
FICSIT-Fred4w ago
It has been attached to this message. -# Responding to Crash found in FactoryGame.log triggered by @Bababooie {Class::Null}
Rex
Rex4w ago
i.e. it's like mine (I cannot reproduce the crash) with the only difference being the values
Bababooie
BababooieOP4w ago
Have you got it on the default hotkey
SirDigby
SirDigby4w ago
I'm going to rebuild the mod and release that
Rex
Rex4w ago
Yes Oh, I rebuilt the mod
Bababooie
BababooieOP4w ago
Because I had to rebind mine because there is some weird conflict between it and the time of day control mod (cant remember the name)
SirDigby
SirDigby4w ago
SkyUI
Bababooie
BababooieOP4w ago
that one yeah
Rex
Rex4w ago
Ah yes, I just ignore the conflict If I open SkyUI first, I can then open Flashlight Settings
SirDigby
SirDigby4w ago
Yeah, it's weird
Bababooie
BababooieOP4w ago
Yeah I found that workaround as well but didn't want to keep dealing with it, could be because I rebound it I'll go set it back to default and see if it happens again
SirDigby
SirDigby4w ago
Don't think that's the issue
Bababooie
BababooieOP4w ago
i rebound it to f6 if you want to try that still wanna rule anything out was it right shift+L for default? I don't wanna reset all my other binds
Rex
Rex4w ago
I actually have the same SML version as you I thought I had built SML from dev, but no
Bababooie
BababooieOP4w ago
wait leftshit+L rather
SirDigby
SirDigby4w ago
Ok, just released a new version. Please try that
Rex
Rex4w ago
:ai_antivirus_moment:
Bababooie
BababooieOP4w ago
will do 👍
Rex
Rex4w ago
(it's going to take a moment due to virustotal scanning)
Bababooie
BababooieOP4w ago
It's done, abut to load
SirDigby
SirDigby4w ago
I waited until the scan was done and it was actually released
Rex
Rex4w ago
Ah, then KBot is slow
Bababooie
BababooieOP4w ago
It's good 👍 Tysm
SirDigby
SirDigby4w ago
It checks for updates every 15 minutes instead of using the webhook
Solution
Rex
Rex4w ago
TL;DR recompiling the mod fixed the issue
Bababooie
BababooieOP4w ago
no conflict with sky ui either anymore based goated lightpilled
Rex
Rex4w ago
Some lore: this is from the days when one of the AI antiviruses in VirusTotal would randomly flag stuff as malware, requiring manual intervention
Bababooie
BababooieOP4w ago
lmao
SirDigby
SirDigby4w ago
I think it might still do that, but SMR now requires more than 1 AV to flag it
Bababooie
BababooieOP4w ago
wait no I spoke too soon, there is still some strange interaction gfdi mb mb
Rex
Rex4w ago
confused noises
Bababooie
BababooieOP4w ago
Okay, when you close Sky UI, something changes and stops allowing you to open flashlight settings. If you open close it again you'll be able to open flashlight settings, but only once, until you open and close SkyUI again, but, if you open and close SkyUI twice in a row, you won't be able to open flashlight settings a bool somewhere is having a time of it yup, definitely erroneous bool set-age can't tell you which one something about closing SkyUI is flipping it, allowing or disallowing the opening of Flashlight settings
Rex
Rex4w ago
The bool: (╯°□°)╯︵ ┻━┻
FICSIT-Fred
FICSIT-Fred4w ago
┬─┬ ノ( ゜-゜ノ) -# Responding to flip triggered by @Rex [they/them]
Bababooie
BababooieOP4w ago
lmfao
Rex
Rex4w ago
If you're bored, check if this runs properly (in Comp_FlashlightSettings)
No description
Rex
Rex4w ago
I can think of 2 problems: the input action not firing for some reason (maybe switch to Started?) and the Branch taking the wrong path (if "Contains Interact Widget Of Class" still returns true for some reason) Also feel free to check if Th3WwiseBrowser has the same issue, as it uses the same logic to open its widget, but the widget itself is different
SirDigby
SirDigby4w ago
I tried removing the close on hotkey bit and it didn't fix it Although I did a dumb and left the branch in
Rex
Rex4w ago
Huh? Ah, you did it as a test
SirDigby
SirDigby4w ago
Yeah, bypassing that doesn't fix it
Rex
Rex4w ago
The only difference I see is that I'm doing the event binding on Construct instead of On Initialized (On Initialized feels more correct btw) Does the input action get called every time? Oh, I see a thing
Rex
Rex4w ago
No description
Rex
Rex4w ago
I only have the first one in Th3WwiseBrowser Huh, apparently killing the 2nd one seems to make the keybind work consistently
Bababooie
BababooieOP4w ago
Okay, I tried swapping the input to "triggered" instead of "completed" and got at leaste a somewhat different result
Rex
Rex4w ago
I just need to handle the input within the widget now, to be able to close it when pressing the keybind again
Bababooie
BababooieOP4w ago
flashlight settings opened reliably, but only if you let go of L after shift, but the skyui would open a second time by only pressing L after opening it normally with ctrl L but only if you don't try to open flashlight settings in between closing it trying "started" condition now Now a similar thing happens, but flashlight settings opens on the solo L press, not SkyUI now flashlight settings still opens reliably as long as L is let go after shift Going to try "canceled" now
Rex
Rex4w ago
I think Completed is the right thing to use
Bababooie
BababooieOP4w ago
Probably, yeah Now once you've opened one, pressing L by itself will just swap which one opens after you close the other Okay no so I was entirely right the first time with it on "completed" when it does allow you to open flashlight settings, pressing L by itself will open skyui and then not let you open flashlight settings until you open and close sku ui one more time
Bababooie
BababooieOP4w ago
Oh yeah, it's debuggin' time
No description
Bababooie
BababooieOP4w ago
It's just straight up not registering that the action is happening after it's closed until SkyUI is opened and subsequently closed Doesn't matter if you exit from flashlight with the ui, escape, or shiftL again I'm gonna try it with my rebind Now that it isn't crashing at least
Rex
Rex4w ago
I think the mapping context isn't using the right parent or something because it does nothing until you open an interact UI e.g. build menu
Bababooie
BababooieOP4w ago
Okay, yeah you're right it is any iteract ui but pressing L solo still is opening up SkyUI
Rex
Rex4w ago
That might be on SkyUI's end
Bababooie
BababooieOP4w ago
Okay I haven't rebound it but now it's just always working??? and Sky UI is always opening without having control pressed?? I don't know what is going on
Rex
Rex4w ago
Yeah, it's haunted
Bababooie
BababooieOP4w ago
Wait, gotta reboot one more gain to check a thing Opening the build menu was what fixed it It has all those weird caveats mentioned about until you use the build gun, then it just starts working properly. Well, SkyUI just opens whenever you press L, but flashlight settings don't need the convoluted opening skyui beforehand And then breaks it again using any interact UI is toggling its availability well, toggling in between working normally, and only working in between every second skyui open and close 🙃 I was literally laying down for bed when I got pinged and now I'm absolutely wired lmao this is a lovely puzzle
Rex
Rex4w ago
You should go to sleep
Bababooie
BababooieOP4w ago
using literally any other keybind than shift/ctrl+L makes it work completely normally Might I recommend shift/ctrl+B, since that's the flashlight button I got used to having mine on f6 so I'll probably stick with that but yeah, if you can change that as a default then there should be no further issues
SirDigby
SirDigby4w ago
I mean, it's likely just a conflict with SkyUI
Bababooie
BababooieOP4w ago
there seems to be some kanj with how it's handling ctrl and shift since it's saying the wrong thing when I go to rebind them on the L like if I just try to set it to right shift + L, it'll always say left shift +L and work with either same with ctrl
SirDigby
SirDigby4w ago
That's a known thing
Bababooie
BababooieOP4w ago
Then whatever is causing that issue is likely the culprit here too Or at least somewhat involved Maybe just a recommendation to rebind one or the other to something else if you have both mods?
SirDigby
SirDigby4w ago
If people complain about it
Bababooie
BababooieOP4w ago
fair cop alright well I will do the winding down thing for reals now, thanks for the puzzle, but more importantly getting that fix out so quick, is much appreciated 👍

Did you find this page helpful?