Closed elai950 closed 1 year ago
What platform are you building that for? Its complaining about engine source files.
I'm developing in Windows 11 64 bit. But the target platform is just Windows, Nothing else.
its when packaging or just when compiling your project for the editor?
I don't know, you seem to be missing an export somewhere.
It's happenning while compiling the project in Rider IDE.
I've only added in the header file :
#include "AdvancedFriendsGameInstance.h"
Maybe I need to add something else?
Yeah well, im afraid I can't be of much help here, its having issues finding variable types in the header files that the game instance uses.
Try adding the referenced modules to your build.cs as well.
Both of the below are included in the advanced sessions module and are relevant to the warnings you are getting. OnlineSubsystem", "Sockets"
Might have something to do with AS including them in both its private and public modules, which looks like a typo. Generally the plugin isn't meant to be used with source projects.
i'll remove them under private dependencies, it may be overriding the public inclusion. Not sure of how the engine handles that.
Well, I've just found the problem. I have discord GameSDK also and for some reason there's a collision between them like you've said. It's very problematic to not been able to use the SteamSDK and also discord's. Not that I'm blame you or something.
If you have any advice that would be great! Meanwhile I'll try to find a solution.
Thank you very much!
By the way, Getting and storing the friends list is failing, any clue about that? I don't get any error message, from blueprints it's exiting in the fail flow. I'm starting the game in a standalone environment, I don't see the steam popup either
It will always fail if there is no popup as that means steam didn't load. Something on the config end is incorrect.
I think I've made progress with it because now when launching from standalone it's just crash with this:
Unhandled Exception: 0xc06d007f
KERNELBASE
UnrealEditor_SteamShared
UnrealEditor_SteamShared
UnrealEditor_SteamShared
UnrealEditor_SteamShared
UnrealEditor_OnlineSubsystemSteam
UnrealEditor_OnlineSubsystemSteam
UnrealEditor_OnlineSubsystemSteam
UnrealEditor_OnlineSubsystem
UnrealEditor_OnlineSubsystem
UnrealEditor_OnlineSubsystem
UnrealEditor_OnlineSubsystem
UnrealEditor_Core
UnrealEditor_Projects
UnrealEditor_Projects
UnrealEditor_Projects
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll
About that crash. I ended up with reinstalling the engine and that solved all the problems. Maybe something was corrupted there. Thanks for the help!
I'm using UE 5.3 and for the C++ the IDE is Rider. I've added this 2 modules the .Build.cs :
After that, I wanted to inherite my game instance instead of
UGameInstance
toUAdvancedFriendsGameInstance
. Running build and I'm getting compile failed with this errors:If I change back to
UGameInstance
the compile succeed.