Closed LightfootBros closed 3 months ago
Ahoy @LightfootBros ! To get started, can you please provide for me this information:
I think in order to start helping you debug, I'll need to know what video you're referencing. It likely wasn't made by this team, but if you can link it I can do my best to help grasp what kinds of errors could fall out. Is there a particular point in the video that you started to get the errors at?
Guessing by that first error, InvalidParameters, there's something about your EOS configuration. "InvalidParameters" is a pretty broad error that could be all sorts of things. It's probably trying to run Init
inside EOSManager and failing at some point there. The configuration files at Assets/StreamingAssets/EOS/
might be where the issue is at, such as in EpicOnlineServicesConfig.json
. Don't share that file with me here, that information is secret and shouldn't be posted here, but could you please check that the information there is filled out with values from your Epic backend? You should have productID
, sandboxID
, deploymentID
, clientID
, clientSecret
all filled out.
I can tell by the constructor of EOSFriendsManager
failing that the EOSManager.Instance.GetEOSPlatformInterface.GetFriendsInterface()
is either returning null at Instance
or returning null at GetEOSPlatformInterface
. Are there perhaps more logs that you could share, to help understand at what point this is failing to initialize? They'll probably be logs starting with "EOSManager::Init". If you can, please add this symbol to your build's compiler symbols: ENABLE_DEBUG_EOSMANAGER
. This will give us a little bit more information in logs.
Thanks so much for getting back to me, but it seems to have sorted itself out!!!
On Mon, 1 Jul 2024 at 19:52, Mint Gould @.***> wrote:
Ahoy @LightfootBros https://github.com/LightfootBros ! To get started, can you please provide for me this information:
- What version of Unity are you using?
- What platform are you building your game on? (Windows?)
- What platform are you building your game for? (Standalone Windows?)
I think in order to start helping you debug, I'll need to know what video you're referencing. It likely wasn't made by this team, but if you can link it I can do my best to help grasp what kinds of errors could fall out. Is there a particular point in the video that you started to get the errors at?
Guessing by that first error, InvalidParameters, there's something about your EOS configuration. "InvalidParameters" is a pretty broad error that could be all sorts of things. It's probably trying to run Init inside EOSManager and failing at some point there. The configuration files at Assets/StreamingAssets/EOS/ might be where the issue is at, such as in EpicOnlineServicesConfig.json. Don't share that file with me here, that information is secret and shouldn't be posted here, but could you please check that the information there is filled out with values from your Epic backend? You should have productID, sandboxID, deploymentID, clientID, clientSecret all filled out.
I can tell by the constructor of EOSFriendsManager failing that the EOSManager.Instance.GetEOSPlatformInterface.GetFriendsInterface() is either returning null at Instance or returning null at GetEOSPlatformInterface. Are there perhaps more logs that you could share, to help understand at what point this is failing to initialize? They'll probably be logs starting with "EOSManager::Init". If you can, please add this symbol to your build's compiler symbols: ENABLE_DEBUG_EOSMANAGER. This will give us a little bit more information in logs.
— Reply to this email directly, view it on GitHub https://github.com/PlayEveryWare/eos_plugin_for_unity/issues/755#issuecomment-2200805978, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJFPKVZX7UFIE5YXKKHOJLZKGQQFAVCNFSM6AAAAABKC65EU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQHAYDKOJXHA . You are receiving this because you were mentioned.Message ID: @.***>
However, I can log in through the achievements scene but it cannot see my achievements which are defo set up?
On Tue, 2 Jul 2024 at 10:03, Lightfoot Bros @.***> wrote:
Thanks so much for getting back to me, but it seems to have sorted itself out!!!
On Mon, 1 Jul 2024 at 19:52, Mint Gould @.***> wrote:
Ahoy @LightfootBros https://github.com/LightfootBros ! To get started, can you please provide for me this information:
- What version of Unity are you using?
- What platform are you building your game on? (Windows?)
- What platform are you building your game for? (Standalone Windows?)
I think in order to start helping you debug, I'll need to know what video you're referencing. It likely wasn't made by this team, but if you can link it I can do my best to help grasp what kinds of errors could fall out. Is there a particular point in the video that you started to get the errors at?
Guessing by that first error, InvalidParameters, there's something about your EOS configuration. "InvalidParameters" is a pretty broad error that could be all sorts of things. It's probably trying to run Init inside EOSManager and failing at some point there. The configuration files at Assets/StreamingAssets/EOS/ might be where the issue is at, such as in EpicOnlineServicesConfig.json. Don't share that file with me here, that information is secret and shouldn't be posted here, but could you please check that the information there is filled out with values from your Epic backend? You should have productID, sandboxID, deploymentID, clientID, clientSecret all filled out.
I can tell by the constructor of EOSFriendsManager failing that the EOSManager.Instance.GetEOSPlatformInterface.GetFriendsInterface() is either returning null at Instance or returning null at GetEOSPlatformInterface. Are there perhaps more logs that you could share, to help understand at what point this is failing to initialize? They'll probably be logs starting with "EOSManager::Init". If you can, please add this symbol to your build's compiler symbols: ENABLE_DEBUG_EOSMANAGER. This will give us a little bit more information in logs.
— Reply to this email directly, view it on GitHub https://github.com/PlayEveryWare/eos_plugin_for_unity/issues/755#issuecomment-2200805978, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJFPKVZX7UFIE5YXKKHOJLZKGQQFAVCNFSM6AAAAABKC65EU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQHAYDKOJXHA . You are receiving this because you were mentioned.Message ID: @.***>
Hmm, so your achievements aren't showing, but you're able to authenticate properly? Let's start by making sure your achievements are in the same deployment as you're pointing to in your configuration file. Is it possible you're targeting a different one in your config?
One step for tackling this could be more verbose logging. Please add ENABLE_DEBUG_EOSACHIEVEMENTMANAGER
as a build symbol, and then at some point before you get achievements, set the logging level. You can do this by calling EOSManager.Instance.SetLogLevel(LogCategory.Achievements, LogLevel.VeryVerbose);
, which in combination with the above symbol will add more logging. Perhaps something will come out of it that helps us debug?
Hi, seems or was My impatience. The achievements had not been pushed to state, and not they are they are visible. Thanks!
On Tue, 2 Jul 2024 at 21:59, Mint Gould @.***> wrote:
Hmm, so your achievements aren't showing, but you're able to authenticate properly? Let's start by making sure your achievements are in the same deployment as you're pointing to in your configuration file. Is it possible you're targeting a different one in your config?
One step for tackling this could be more verbose logging. Please add ENABLE_DEBUG_EOSACHIEVEMENTMANAGER as a build symbol, and then at some point before you get achievements, set the logging level. You can do this by calling EOSManager.Instance.SetLogLevel(LogCategory.Achievements, LogLevel.VeryVerbose);, which in combination with the above symbol will add more logging. Perhaps something will come out of it that helps us debug?
— Reply to this email directly, view it on GitHub https://github.com/PlayEveryWare/eos_plugin_for_unity/issues/755#issuecomment-2204406920, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJFPKVOCM2ALSAP5GPMG3TZKMIEFAVCNFSM6AAAAABKC65EU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBUGQYDMOJSGA . You are receiving this because you were mentioned.Message ID: @.***>
It sounds like you're able to see everything now. I'm going to close out this issue - please let us know if you have any other problems, either in here or a new issue. Good luck on your achievement-adventures!
Hi,
I do have another issue, when I unlock an achievement in my build (that just contains the achievement scene) it unlocks but I do not see the achievement animation. Any ideas why? It just flashes then unlocks
On Wed, 3 Jul 2024 at 19:12, Mint Gould @.***> wrote:
It sounds like you're able to see everything now. I'm going to close out this issue - please let us know if you have any other problems, either in here or a new issue. Good luck on your achievement-adventures!
— Reply to this email directly, view it on GitHub https://github.com/PlayEveryWare/eos_plugin_for_unity/issues/755#issuecomment-2206929783, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJFPKSQ5NSTBLA4OW6OZEDZKQ5KJAVCNFSM6AAAAABKC65EU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWHEZDSNZYGM . You are receiving this because you were mentioned.Message ID: @.***>
These are the error
07/05/2024 15:57:22 LogEOSAuth(Warning): BeginDesktopCrossplayLogin: Desktop crossplay is not ready: EOS_DesktopCrossplay_ApplicationNotBootstrapped
07/05/2024 15:57:22 LogEOSAuth(Warning): UserAuthGenerated: Account Portal overlay failed to load for device auth continuation; falling back to browser based flow
07/05/2024 15:57:23 LogEOS(Warning): Error response received from backend.
ServiceName=[OAuth], OperationName=[TokenGrantv2], Url=[
07/05/2024 15:57:33 LogEOS(Warning): Error response received from backend.
ServiceName=[StatsAchievements], OperationName=[GetPlayerStats],
Url=[
07/05/2024 15:57:34 LogEOSStats(Warning): Failed to get player stats. Error=EOS_NotConfigured
07/05/2024 15:57:34 LogEOSStats(Warning): EOS_Stats_GetStatsCount - User not found.
07/05/2024 15:57:34 LogEOS(Warning): FEpicGamesPlatform::GetOnlinePlatformType - unable to map None to EOS_OnlinePlatformType
07/05/2024 15:58:03 LogEOS(Warning): Error response received from backend.
ServiceName=[StatsAchievements], OperationName=[GetPlayerStats],
Url=[
and this warning\
NullReferenceException: Object reference not set to an instance of an object CopyToClipboard.CopyOnClick () (at Assets/Samples/Epic Online Services Plugin for Unity/3.2.1/Standard Pack _ EOS Plugin for Unity Samples/Scripts/Utility/CopyToClipboard.cs:35) UnityEngine.Events.InvokableCall.Invoke () (at
<583df70190f94511bd46f12943531dbc>:0) UnityEngine.Events.UnityEvent.Invoke () (at <583df70190f94511bd46f12943531dbc>:0) UnityEngine.UI.Button.Press () (at ***@***.*** /Runtime/UI/Core/Button.cs:70) UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at ***@***.***/Runtime/UI/Core/Button.cs:114) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at ***@***.*** /Runtime/EventSystem/ExecuteEvents.cs:57) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at ***@***.*** /Runtime/EventSystem/ExecuteEvents.cs:272) UnityEngine.EventSystems.EventSystem:Update() (at ***@***.*** /Runtime/EventSystem/EventSystem.cs:514) On Fri, 5 Jul 2024 at 15:49, Lightfoot Bros ***@***.***> wrote: > Hi, > > I do have another issue, when I unlock an achievement in my build (that > just contains the achievement scene) it unlocks but I do not see the > achievement animation. Any ideas why? It just flashes then unlocks > > On Wed, 3 Jul 2024 at 19:12, Mint Gould ***@***.***> wrote: > >> It sounds like you're able to see everything now. I'm going to close out >> this issue - please let us know if you have any other problems, either in >> here or a new issue. Good luck on your achievement-adventures! >> >> — >> Reply to this email directly, view it on GitHub >>What platform are you building on? The Social Overlay is the component that shows you the "achievement unlocked" animation bit, but that's only available on a subset of platforms; in this repo it'd only be available for Windows builds.
There's a lot of configuration warnings in that block of messages. Were you able to successfully Auth login then Connect login with this user?
Thanks, so I am building on Windows and am not seeing the "achievement unlocked" animation.
I was able to log in on Auth and Achievements scenes - please see videos here https://www.dropbox.com/scl/fo/r2qr38k23sr3s4wxbl9f7/AOz9USJd7XP6laKnEut43Po?rlkey=byegoveg9k4e7wzl4oz81zoce&dl=0, one of editor and one of build.
So close to getting this to happen so I would really appreciate your help (happy to jump on a zoom call also if you need to take a closer look!)
On Mon, 8 Jul 2024 at 23:41, Mint Gould @.***> wrote:
What platform are you building on? The Social Overlay is the component that shows you the "achievement unlocked" animation bit, but that's only available on a subset of platforms; in this repo it'd only be available for Windows builds.
There's a lot of configuration warnings in that block of messages. Were you able to successfully Auth login then Connect login with this user?
— Reply to this email directly, view it on GitHub https://github.com/PlayEveryWare/eos_plugin_for_unity/issues/755#issuecomment-2215471491, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJFPKTGPYM3KVMQH4QTJZLZLMIQ3AVCNFSM6AAAAABKC65EU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJVGQ3TCNBZGE . You are receiving this because you were mentioned.Message ID: @.***>
It's a bit hard to see the full log from the video, but I saw something interesting in the logs.
"Social overlay is disabled due to flags passed to EOS_Platform_Create"
What platform flags are you passing in to the SDK? Please look in Tools -> EOS Plugin -> EOS Configuration
under Platform Flags
at the bottom.
Could you pass me your editor log as well? You can find that by opening the Console
view (by default in the same tab group as Project
), pressing the three vertical dots at the top right of the tab group, and clicking Open Editor Log
. I'm hoping that information from there will help me understand where the setup failure or configuration is.
Oh! I did just notice the videos are from the Editor. It is expected that the social overlay does not function inside the Editor. I think if the other video was meant to be from a build, it only captured footage from the Editor.
Hi,
See link https://www.dropbox.com/scl/fo/ckilv4prrszvul87jfdyv/AHM6Awem95P-EXHtR_d6syE?rlkey=49a2mjocrg8xfkt195iw7leyf&dl=0 to editor logs, screengrab of platform flags (nothing) and editor log
On Tue, 9 Jul 2024 at 23:23, Mint Gould @.***> wrote:
Oh! I did just notice the videos are from the Editor. It is expected that the social overlay does not function inside the Editor. I think if the other video was meant to be from a build, it only captured footage from the Editor.
— Reply to this email directly, view it on GitHub https://github.com/PlayEveryWare/eos_plugin_for_unity/issues/755#issuecomment-2218832557, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJFPKRW7A4KEDVRO5GQ733ZLRPFLAVCNFSM6AAAAABKC65EU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJYHAZTENJVG4 . You are receiving this because you were mentioned.Message ID: @.***>
Just to check, is this issue occurring in a standalone Windows build? I'm under the impression that since release 3.2.1
, additional logs are made that say this is disabled due to flags passed to EOS_Platform_Create
message when running in the Editor. Those messages were a surprise to me, and may make it look like there's a problem while things are working as expected. The social overlay doesn't function in the Editor, so there wouldn't be the achievements animation.
If it's happening in a Windows build, though, we'll have to keep digging! If it happens in a standalone build, we'll need to get logs from the player. After experiencing this error, you can pick up your Unity logs most likely at %APPDATA%/LocalLow/[yourcompanyname]/[yourproject'sname]/Player.log
.
I'm not seeing any messages from the EOSManager.cs. Can you ensure that either ENABLE_DEBUG_EOSMANAGER
is defined in your build symbols, or the //#define ENABLE_DEBUG_EOSMANAGER
line is uncommented in that class?
Yes, this is a standalone windows build. Would you like me to invite you to the project? PlasticSCM? Or can we do a video call? I am getting an error when putting in (%APPDATA%/LocalLow/[Lightfoot Bros Games]/The Mystery Of Woolley Mountain/Player.log) but I have added the ENABLE_DEBUG_EOSMANAGER. It now really isn't working. I'd really appreciate either you jumping in to the project and having a look or guiding me through a video. I;ve been trying to get this sorted for two years now. I am close to giving up!
On Wed, 10 Jul 2024 at 19:51, Mint Gould @.***> wrote:
Just to check, is this issue occurring in a standalone Windows build? I'm under the impression that since release 3.2.1, additional logs are made that say this is disabled due to flags passed to EOS_Platform_Create message when running in the Editor. Those messages were a surprise to me, and may make it look like there's a problem while things are working as expected. The social overlay doesn't function in the Editor, so there wouldn't be the achievements animation.
If it's happening in a Windows build, though, we'll have to keep digging! If it happens in a standalone build, we'll need to get logs from the player. After experiencing this error, you can pick up your Unity logs most likely at %APPDATA%/LocalLow/[yourcompanyname]/[yourproject'sname]/Player.log.
I'm not seeing any messages from the EOSManager.cs. Can you ensure that either ENABLE_DEBUG_EOSMANAGER is defined in your build symbols, or the //#define ENABLE_DEBUG_EOSMANAGER line is uncommented in that class?
— Reply to this email directly, view it on GitHub https://github.com/PlayEveryWare/eos_plugin_for_unity/issues/755#issuecomment-2221208810, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJFPKWIC7YSRS6LU4CXM5DZLV7B5AVCNFSM6AAAAABKC65EU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRRGIYDQOBRGA . You are receiving this because you were mentioned.Message ID: @.***>
I can't do a call, but I can look at your source code! Please upload it to something such as Google Drive, then email a link with permission to read to eos-support@playeveryware.com
. This will create a ticket on another issue-handling-platform that we manage, and we'll be able to securely help you while using your code. I'll prioritize helping you as soon as we get that!
For the folder position, let's try to adjust that a bit, because even with your code I would like those logs. In Windows, if you type in %APPDATA%
in to your file explorer, it'll open a special folder location.
From here, go up a level (because it will open it to %APPDATA%/Roaming
), go to LocalLow
, and find your company name in there. Then navigate to your game inside that, and grab the Player.log file. There shouldn't be any [
or ]
characters in there, I just included that in the sample link to represent it being a placeholder for your actual values.
ok, pc laptop just died. Will re charge and try. ps is Dropbox ok?
On Thu, 11 Jul 2024 at 20:36, Mint Gould @.***> wrote:
I can't do a call, but I can look at your source code! Please upload it to something such as Google Drive, then email a link with permission to read to @.*** This will create a ticket on another issue-handling-platform that we manage, and we'll be able to securely help you while using your code. I'll prioritize helping you as soon as we get that!
For the folder position, let's try to adjust that a bit, because even with your code I would like those logs. In Windows, if you type in %APPDATA% in to your file explorer, it'll open a special folder location.
image.png (view on web) https://github.com/PlayEveryWare/eos_plugin_for_unity/assets/16852552/8e692985-60bc-4abf-b2a0-40d57dfb117b image.png (view on web) https://github.com/PlayEveryWare/eos_plugin_for_unity/assets/16852552/af6354f4-02bc-47b6-a242-d00e2e8b455d
From here, go up a level (because it will open it to %APPDATA%/Roaming), go to LocalLow, and find your company name in there. Then navigate to your game inside that, and grab the Player.log file. There shouldn't be any [ or ] characters in there, I just included that in the sample link to represent it being a placeholder for your actual values.
— Reply to this email directly, view it on GitHub https://github.com/PlayEveryWare/eos_plugin_for_unity/issues/755#issuecomment-2223731675, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJFPKTEJJFX6HNVMJEHKYLZL3NCNAVCNFSM6AAAAABKC65EU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTG4ZTCNRXGU . You are receiving this because you were mentioned.Message ID: @.***>
Since this got handled over Zendesk, I'm going to close out this ticket for now. Let me know by pinging @WispyMouse if you need more assistance, or open a new issue.
So I have followed this video and set everything up, but I still cannot get the AuthAndFriends scene to log in. Iget these errors when the scene runs.