Closed laithalshabi closed 5 months ago
Hello, we’re here to help you troubleshoot.
First, check if you have EOSConfig ready. Open Tools->EOS Configuration and fill in the necessary blanks under Main and Android.
Second, make sure the Android API Level is higher than 29.
Additionally, try clicking on the error log that shows null exception, it might show us what the null variable was.
Hello, we’re here to help you troubleshoot.
First, check if you have EOSConfig ready. Open Tools->EOS Configuration and fill in the necessary blanks under Main and Android.
Second, make sure the Android API Level is higher than 29.
Additionally, try clicking on the error log that shows null exception, it might show us what the null variable was.
the 3.0.3 version was working fine for android platform and windows platform but now it won't work with android platform
config is fine
android api level is fine
and its just the var funcResult = AndroidBindings.EOS_Initialize(ref optionsInternal);
and the full error is up in the bug description
Hi @laithalshabi. I'll be taking a look at this today and should have an update for you by the end of the day.
We've found the source of the problem - and will have a hotfix patched in by the end of the day tomorrow.
Hi @laithalshabi Can you confirm that the changes we merged in resolve your issue? I'm confident that they will but want to double check to make sure things are good on your end.
still the same i got the same issue
i've created new project just to test if it is "me problem" or not but same error with new project and i used the sample that came with the package
NullReferenceException: Object reference not set to an instance of an object
Epic.OnlineServices.Platform.PlatformInterface.Initialize (Epic.OnlineServices.Platform.AndroidInitializeOptions& options) (at ./Library/PackageCache/com.playeveryware.eos@0465461da5d5/Runtime/EOS_SDK/Generated/Android/Platform/PlatformInterface.cs:18)
PlayEveryWare.EpicOnlineServices.EOSManager+EOSSingleton.InitializePlatformInterface (PlayEveryWare.EpicOnlineServices.EOSConfig configData) (at ./Library/PackageCache/com.playeveryware.eos@0465461da5d5/Runtime/Core/EOSManager.cs:465)
PlayEveryWare.EpicOnlineServices.EOSManager+EOSSingleton.Init (PlayEveryWare.EpicOnlineServices.IEOSCoroutineOwner coroutineOwner, System.String configFileName) (at ./Library/PackageCache/com.playeveryware.eos@0465461da5d5/Runtime/Core/EOSManager.cs:646)
PlayEveryWare.EpicOnlineServices.EOSManager+EOSSingleton.Init (PlayEveryWare.EpicOnlineServices.IEOSCoroutineOwner coroutineOwner) (at ./Library/PackageCache/com.playeveryware.eos@0465461da5d5/Runtime/Core/EOSManager.cs:558)
PlayEveryWare.EpicOnlineServices.Samples.EOSHostManager.Awake () (at Assets/Samples/Epic Online Services Plugin for Unity/3.1.1/Standard Pack _ EOS Plugin for Unity Samples/Scripts/Core/EOSHostManager.cs:49)
Hello @laithalshabi, is this issue still occurring with the most recent release ?
Hello @laithalshabi, is this issue still occurring with the most recent release ?
yeah it works fine rn thanks <3
Describe the bug android wont Initialize eos
the issue happens when eos calls => var funcResult = AndroidBindings.EOS_Initialize(ref optionsInternal); in PlatformInterface.cs it happens on Editor Platform Android and Android standalone build
the error :
To Reproduce just use the last version with android build or just change the unity platform to android
Expected behavior Initialize EOSManager in android
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):