Dortamur
SMSatisfactory Modding
•Created by Dortamur on 1/23/2025 in #modding-resources
Migrating an UE Enumerator to C++
Cleanup:
- In Unreal Editor right-click your top mod folder and "Fix Up Redirectors"
- Use the Reference Viewer on the old UE Enumeration - it should be a lot less than before! You should be able to manually clean up these references:
- For Structures edit the Structure and change any variable types using the old enums to use the new one
- For Blueprints I found if I loaded the blueprint and manually compiled and saved it removed the references to the old struct
- If you can get references down to 0, you can delete the old UE Enumeration and remove the
EnumRedirects
from Engine.ini
! Congrats!3 replies
SMSatisfactory Modding
•Created by Dortamur on 1/23/2025 in #modding-resources
Migrating an UE Enumerator to C++
The Switcheroo:
- Create or edit
Config\Engine.ini
under your mod's folder, and add the following, modifying it to suit your requirements:
- Replace OldEnumName
with your old UE enum's name, ENewEnumName
with your new C++ enum, ModID with your Mod's ID
- For each enum option, add a ValueChanges entry mapping the old enum entry to the new one. Here's the painful part - the UE Enumeration internally uses IDs NewEnumerator0
, NewEnumerator1
, etc... in the order they were originally added. This means that if enum options were reordered, or deleted, then this won't be a simple sequence. What was the easiest for me was to use FModel to open the mod pak and view the JSON of the old UE Enumeration uasset, which included a mapping of all the NewEnumerator names to labels (although it was oddly missing the last one... 🤔).
- Build your mod (Visual Studio build for Development Editor) again - not sure this step is 100% needed, but doesn't hurt
- Load up Unreal Editor. Now all blueprints using the Old enum should now be using the new enum by name and have the right labels (if you got the ValueChanges
right). If you had a previous node using the new enum natively, you should now be able to connect it to a previously old enum without conversion.
- If all went well, your mod should now build and run! 🎉3 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
There are a few other general crashes that can affect the game. If you want you can post the crash message here and I can check, but from other reports and my own testing, the "UEVR causing crashes when UI is opened" bug should be "fixed".
33 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
@PiggyChu620 - you can now install "0.9.9-alpha1" directly from SMM which includes the crash fixes. Please give it a go and let me know if it helps!
33 replies
SMSatisfactory Modding
•Created by Gonzalo on 1/1/2025 in #help-using-mods
UEVR on Linux: Game doesn't start
I'm afraid UEVR injection issues are largely outside my skillset at the moment, so I don't have any current solution for supporting Linux at this stage.
8 replies
SMSatisfactory Modding
•Created by Gonzalo on 1/1/2025 in #help-using-mods
UEVR on Linux: Game doesn't start
Even on Windows it's better to inject UEVR after loading a save game. From your description it sounds like you're injecting earlier than that?
Does the game run fine with the "UEVR Enhancements" mod installed, if you don't inject UEVR?
8 replies
SMSatisfactory Modding
•Created by Gonzalo on 1/1/2025 in #help-using-mods
UEVR on Linux: Game doesn't start
@Gonzalo - you are not the only crazy person trying to do this! 😆
If you're in the flat2vr forums and join #sf-join, here's a message and thread from someone else investigating it: https://discord.com/channels/747967102895390741/1247514744542335006/1315815022093537311
8 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
Aaah. It's a changed feature. I'd missed that. 😅 It would be useful if it was mentioned under https://docs.ficsit.app/satisfactory-modding/latest/Development/BeginnersGuide/ReleaseMod.html#_default_fields.
33 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
Is this mentioned in docs.ficsit.app? I can only find mention of the normal 3 digit
SemVersion
. 🤔33 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
Aaah, excellent! I'll give that a go. Thanks!
33 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
Sorry about that - it was a mod build straight out of Alpakit to see if it fixed the problem PiggyChu620 was encountering. I didn't realise that wasn't allowed.
What is the preferred way of sharing test builds with users?
33 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
An update on the random crash on UI interaction:
- I got hold of a save game where I can replicate the problem, and ran a whole bunch of tests with different settings
- Stripping things back, it still crashes with a basic UEVR profile, head-aim, no Lua, NO MOD - Satisfactory is completely modless and it still crashes on random UI interactions using UEVR - so it's definitely some instability caused by UEVR itself
- I tested UEVR versions as far back as Nightly 2024-09-16 with no change to stability, so this is not a new UEVR thing
- I am now trying to determine if there's any UEVR setting, Windows setting, GPU setting, game setting, that may improve things...
33 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
Thanks! Nice upgrade! 😁
Are you playing single player, or joining a server (either dedicated or another player as host)?
There is a separate known issue where if a network client gets a dropout (which happens), it crashes instead of returning to the main menu.
33 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
@PiggyChu620 can you please let me know some details about your setup, so I can cross-reference with others having the problem? VR headset, how are you connecting, OpenVR vs OpenXR, CPU, GPU...
33 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
I'm wondering if it's a widget hook related thing, since the mod now has over 20 widget hooks (and again, UI based) - most for adding VR keyboard support to different interfaces - and the Inventory just got a hook to allow searching the Depot. That said, the Ficsmas Calendar doesn't have any custom hooks...
33 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
I've mostly ruled out a few theories on what could be triggering it. When you open/close a UI, the mod changes the UEVR Aim mode, so I thought that might be the trigger - but testing with that disabled it still seems to occur.
33 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
I'm still looking into it, and when I can I've been providing some other testers with some different builds disabling different parts of the mod to try and see what exactly is complicating things. We have a few dedicated discord channels over on the https://flat2vr.com discord, so there's ongoing discussion and some experimental builds there. Look for the #sf-join channel, hit Join, and you can then access the other Satisfactory VR channels.
33 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
There's a few variations on the crash, but they frequently list
FGButtonHintBar
near the top of the stack, which is a CSS component. There's nothing actually referencing my mod in the error dump - UEVRBackend is listed, but that's the UEVR Injector - and it could just be that having UEVR hack into the game causes instability in a few places.33 replies
SMSatisfactory Modding
•Created by PiggyChu620 on 12/31/2024 in #help-using-mods
UEVR crashes, most of time from opening the inventory
Hi @PiggyChu620 ! Thanks for the feedback and the log. Unfortunately, I've been trying to solve this bug for a couple of months with no luck so far. It's affected a couple of other people, although I feel like that may be increasing.
I have gotten this bug (or a variation) a few times myself, but never with enough regularity to allow me to try changes to the mod, whereas I know at least one person who usually can't play for half an hour before getting hit by it.
33 replies