aws / aws-gamekit-unity

AWS GameKit for Unity
Apache License 2.0
34 stars 5 forks source link

GameKitInstanceNotFound errors on project startup, unable to login #2

Open Jackzmc opened 2 years ago

Jackzmc commented 2 years ago

Overview: When I start up my unity project, about ~28 of these errors occur. This is my first time trying to use gamekit, I have not added any amazon credentials due to another issue which I'm not sure is related. OS: Linux, Zorin OS 16.1 (Based on Ubuntu 20.04), x11 Game engine version and build: 2021.3.9f1 Logs

GameKitInstanceNotFound: CoreWrapper::DeploymentOrchestratorInstanceCreate() must be called with proper paths before any settings methods can be used
AWS.GameKit.Runtime.Core.CoreWrapper.GetDeploymentOrchestratorInstance () (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Core/CoreWrapper.cs:376)
AWS.GameKit.Runtime.Core.CoreWrapper+<>c__DisplayClass96_0.<DeploymentOrchestratorGetFeatureStatus>b__0 () (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Core/CoreWrapper.cs:430)
AWS.GameKit.Runtime.Utils.DllLoader.TryDll[T] (System.Func`1[TResult] importedMethod, System.String dllName, T returnOnError) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/DllLoader.cs:41)
UnityEngine.Debug:LogException(Exception)
AWS.GameKit.Runtime.Utils.<>c__DisplayClass40_0:<LogException>b__0() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/Logging.cs:127)
AWS.GameKit.Runtime.Utils.Logging:LogInUnity(Level, Action) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/Logging.cs:211)
AWS.GameKit.Runtime.Utils.Logging:LogException(Object, Exception) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/Logging.cs:125)
AWS.GameKit.Runtime.Utils.DllLoader:LogDllException(Exception, String) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/DllLoader.cs:103)
AWS.GameKit.Runtime.Utils.DllLoader:TryDll(Func`1, String, FeatureStatus) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/DllLoader.cs:45)
AWS.GameKit.Runtime.Core.CoreWrapper:DeploymentOrchestratorGetFeatureStatus(FeatureType) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Core/CoreWrapper.cs:430)
AWS.GameKit.Editor.Core.FeatureDeploymentOrchestrator:GetFeatureStatus(FeatureType) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Core/FeatureDeploymentOrchestrator.cs:91)
AWS.GameKit.Editor.Windows.QuickAccess.QuickAccessWindow:DrawFeatureRows() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/QuickAccess/QuickAccessWindow.cs:115)
AWS.GameKit.Editor.Windows.QuickAccess.QuickAccessWindow:OnGUI() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/QuickAccess/QuickAccessWindow.cs:91)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

Then a debug log:

Calling UserGameplayData.SetNetworkChangeDelegate()
UnityEngine.Debug:Log (object)
AWS.GameKit.Editor.Windows.Settings.Pages.UserGameplayData.UserGameplayDataExamplesTab:CallSetNetworkChangeDelegate () (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/Pages/UserGameplayData/UserGameplayDataExamplesTab.cs:515)
AWS.GameKit.Editor.Windows.Settings.Pages.UserGameplayData.UserGameplayDataExamplesTab:Initialize (AWS.GameKit.Editor.Windows.Settings.SettingsDependencyContainer,UnityEditor.SerializedProperty) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/Pages/UserGameplayData/UserGameplayDataExamplesTab.cs:95)
AWS.GameKit.Editor.Windows.Settings.Pages.UserGameplayData.UserGameplayDataPage:Initialize (AWS.GameKit.Editor.Windows.Settings.SettingsDependencyContainer,UnityEditor.SerializedProperty) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/Pages/UserGameplayData/UserGameplayDataPage.cs:27)
AWS.GameKit.Editor.Windows.Settings.AllPages:Initialize (AWS.GameKit.Editor.Windows.Settings.SettingsDependencyContainer,UnityEditor.SerializedProperty) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/AllPages.cs:69)
AWS.GameKit.Editor.Windows.Settings.SettingsModel:Initialize (AWS.GameKit.Editor.Windows.Settings.SettingsDependencyContainer) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/SettingsModel.cs:40)
AWS.GameKit.Editor.Windows.Settings.SettingsController:OnSettingsWindowEnabled (AWS.GameKit.Editor.Windows.Settings.SettingsWindow) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/SettingsController.cs:42)
AWS.GameKit.Editor.Windows.Settings.SettingsWindow:OnEnable () (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/SettingsWindow.cs:109)
UnityEditor.EditorWindow:GetWindow<AWS.GameKit.Editor.Windows.Settings.SettingsWindow> ()
AWS.GameKit.Editor.Windows.Settings.SettingsController:GetOrCreateSettingsWindow () (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/SettingsController.cs:37)
AWS.GameKit.Editor.ToolbarMenu:OpenSettings () (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/ToolbarMenu.cs:57)

Then more errors:

DllNotFoundException: aws-gamekit-authentication assembly:<unknown assembly> type:<unknown type> member:(null)
AWS.GameKit.Runtime.Core.SessionManagerWrapper+<>c__DisplayClass14_0.<SessionManagerInstanceCreate>b__0 () (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Core/SessionManagerWrapper.cs:87)
AWS.GameKit.Runtime.Utils.DllLoader.TryDll[T] (System.Func`1[TResult] importedMethod, System.String dllName, T returnOnError) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/DllLoader.cs:41)
UnityEngine.Debug:LogException(Exception)
AWS.GameKit.Runtime.Utils.<>c__DisplayClass40_0:<LogException>b__0() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/Logging.cs:127)
AWS.GameKit.Runtime.Utils.Logging:LogInUnity(Level, Action) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/Logging.cs:211)
AWS.GameKit.Runtime.Utils.Logging:LogException(Object, Exception) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/Logging.cs:125)
AWS.GameKit.Runtime.Utils.DllLoader:LogDllException(Exception, String) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/DllLoader.cs:99)
AWS.GameKit.Runtime.Utils.DllLoader:TryDll(Func`1, String, IntPtr) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/DllLoader.cs:45)
AWS.GameKit.Runtime.Core.SessionManagerWrapper:SessionManagerInstanceCreate(String, FuncLoggingCallback) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Core/SessionManagerWrapper.cs:87)
AWS.GameKit.Runtime.Core.SessionManagerWrapper:GetInstance() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Core/SessionManagerWrapper.cs:50)
AWS.GameKit.Runtime.FeatureUtils.GameKitFeatureWrapperBase:GetInstance() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Features/FeatureUtils/GameKitFeatureWrapperBase.cs:46)
AWS.GameKit.Runtime.Features.GameKitUserGameplayData.UserGameplayDataWrapper:<UserGameplayDataSetNetworkChangeCallback>b__36_0() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Features/UserGameplayData/UserGameplayDataWrapper.cs:229)
AWS.GameKit.Runtime.Utils.DllLoader:TryDll(Action, String) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/DllLoader.cs:24)
AWS.GameKit.Runtime.Features.GameKitUserGameplayData.UserGameplayDataWrapper:UserGameplayDataSetNetworkChangeCallback(NetworkChangedDelegate) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Features/UserGameplayData/UserGameplayDataWrapper.cs:229)
AWS.GameKit.Runtime.Features.GameKitUserGameplayData.UserGameplayData:SetNetworkChangeDelegate(NetworkChangedDelegate) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Features/UserGameplayData/UserGameplayData.cs:389)
AWS.GameKit.Editor.Windows.Settings.Pages.UserGameplayData.UserGameplayDataExamplesTab:CallSetNetworkChangeDelegate() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/Pages/UserGameplayData/UserGameplayDataExamplesTab.cs:517)
AWS.GameKit.Editor.Windows.Settings.Pages.UserGameplayData.UserGameplayDataExamplesTab:Initialize(SettingsDependencyContainer, SerializedProperty) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/Pages/UserGameplayData/UserGameplayDataExamplesTab.cs:95)
AWS.GameKit.Editor.Windows.Settings.Pages.UserGameplayData.UserGameplayDataPage:Initialize(SettingsDependencyContainer, SerializedProperty) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/Pages/UserGameplayData/UserGameplayDataPage.cs:27)
AWS.GameKit.Editor.Windows.Settings.AllPages:Initialize(SettingsDependencyContainer, SerializedProperty) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/AllPages.cs:69)
AWS.GameKit.Editor.Windows.Settings.SettingsModel:Initialize(SettingsDependencyContainer) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/SettingsModel.cs:40)
AWS.GameKit.Editor.Windows.Settings.SettingsController:OnSettingsWindowEnabled(SettingsWindow) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/SettingsController.cs:42)
AWS.GameKit.Editor.Windows.Settings.SettingsWindow:OnEnable() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/SettingsWindow.cs:109)
UnityEditor.EditorWindow:GetWindow()
AWS.GameKit.Editor.Windows.Settings.SettingsController:GetOrCreateSettingsWindow() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/SettingsController.cs:37)
AWS.GameKit.Editor.ToolbarMenu:OpenSettings() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/ToolbarMenu.cs:57)
AWS.GameKit.Runtime.Core.CoreWrapper.GetAccountInstance () (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Core/CoreWrapper.cs:106)
AWS.GameKit.Runtime.Core.CoreWrapper.<AccountHasValidCredentials>b__61_0 () (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Core/CoreWrapper.cs:133)
AWS.GameKit.Runtime.Utils.DllLoader.TryDll[T] (System.Func`1[TResult] importedMethod, System.String dllName, T returnOnError) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/DllLoader.cs:41)
UnityEngine.Debug:LogException(Exception)
AWS.GameKit.Runtime.Utils.<>c__DisplayClass40_0:<LogException>b__0() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/Logging.cs:127)
AWS.GameKit.Runtime.Utils.Logging:LogInUnity(Level, Action) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/Logging.cs:211)
AWS.GameKit.Runtime.Utils.Logging:LogException(Object, Exception) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/Logging.cs:125)
AWS.GameKit.Runtime.Utils.DllLoader:LogDllException(Exception, String) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/DllLoader.cs:103)
AWS.GameKit.Runtime.Utils.DllLoader:TryDll(Func`1, String, Boolean) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Utils/DllLoader.cs:45)
AWS.GameKit.Runtime.Core.CoreWrapper:AccountHasValidCredentials() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Runtime/Scripts/Core/CoreWrapper.cs:133)
AWS.GameKit.Editor.Core.FeatureResourceManager:IsAccountInfoValid(AccountDetails) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Core/FeatureResourceManager.cs:171)
AWS.GameKit.Editor.Windows.Settings.Pages.EnvironmentAndCredentials.EnvironmentAndCredentialsPage:OnAwsCredentialsChanged(Boolean) (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/Pages/EnvironmentAndCredentials/EnvironmentAndCredentialsPage.cs:1002)
AWS.GameKit.Editor.Windows.Settings.Pages.EnvironmentAndCredentials.EnvironmentAndCredentialsPage:DrawAwsAccountCredentialsSection() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/Pages/EnvironmentAndCredentials/EnvironmentAndCredentialsPage.cs:446)
AWS.GameKit.Editor.Windows.Settings.Pages.EnvironmentAndCredentials.EnvironmentAndCredentialsPage:DrawContent() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/Pages/EnvironmentAndCredentials/EnvironmentAndCredentialsPage.cs:167)
AWS.GameKit.Editor.Windows.Settings.Page:OnGUI() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/Page.cs:71)
AWS.GameKit.Editor.Windows.Settings.PageContainerWidget:OnGUI() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/PageContainerWidget.cs:17)
AWS.GameKit.Editor.Windows.Settings.SettingsWindow:DrawPageContents() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/SettingsWindow.cs:233)
AWS.GameKit.Editor.Windows.Settings.SettingsWindow:OnGUI() (at Library/PackageCache/com.amazonaws.gamekit@4e6d95d6d0fc/Editor/Scripts/Windows/Settings/SettingsWindow.cs:187)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

I'm not sure if this issue is related - but I'm unable to login with my aws account with the following error: The AWS Credentials entered are not a valid pair (The credentials worked on a team member's computer (on windows), but no matter what I tried don't work for me) I can make a new issue for this if it is an unrelated issue

AMZN-johnlaug commented 2 years ago

Hello Jackzmc,

Please provide the following information: Version of Unity used: Operating system you are developing on: How you installed the Unity GameKit package:

From your error messages it could be that you installed the package as embedded package, you only need to do that if you intend to make changes to the package itself. If you just want to use gamekit, you can follow these instructions: https://github.com/aws/aws-gamekit-unity/blob/main/Packages/com.amazonaws.gamekit/README.md#installing-aws-gamekit

If you do want to make changes to the package itself, you will need to install it as an embedded package. You can follow the steps in the main readme for this. Make sure you build the dynamic libraries and use the refresh script to copy them to the right folder: https://github.com/aws/aws-gamekit-unity#add-gamekit-c-sdk-binaries

If you want to make changes, built the library and it still does not work, please send me a list of the libraries you have in your Packages\com.amazonaws.gamekit\Plugins\<Platform>\<architecture>\ folder.

Jackzmc commented 2 years ago

OS: Linux, Zorin OS 16.1 (Based on Ubuntu 20.04), x11 Game engine version and build: 2021.3.9f1

I installed GameKit via the tar.gz found on https://github.com/aws/aws-gamekit-unity/releases/tag/v1.0.0 and installed it from the Window -> Package Manager -> Install from tarbal option

I'm not attempting to make changes to the package itself, just to use the gamekit service.

amzn-adrian commented 2 years ago

Hi Jackzmc,

The most relevant error in your log is DllNotFoundException: aws-gamekit-authentication assembly:<unknown assembly> type:<unknown type> member:(null) which occurs given that the package doesn't have binaries for your OS (Linux). GameKit only supports Windows, MacOS, iOS and Android. Linux is not supported.

Jackzmc commented 2 years ago

Just to clarify, I'm not trying to build anything yet with gamekit, I'm just trying to use the unity editor with gamekit.

I did not know that linux is not supported, I did not see anywhere where it states the OS it supports, especially before going to the downloads page. Edit: I had to actively look for the information about supported OS (from https://docs.aws.amazon.com/gamekit/latest/Releases/releases-versions.html). Going from the main page, it takes me to directly to the releases page with no mention of supported OS.

Getea7 commented 1 year ago

Hi, I'm having a similar issue but I'm using Unity on Windows.

OS: Windows 11 Pro (Version 10.0.22621 Build 22621) Unity version: 2021.3.15f1 Platform: Windows (Intel 64-bit)

I first tested using the sample GameKit project and had no issues.

I then installed GameKit into my other project using the instructions here (https://github.com/aws/aws-gamekit-unity/blob/main/Packages/com.amazonaws.gamekit/README.md#installing-aws-gamekit)

I get the following errors whenever I reload the project or enter play mode:

DllNotFoundException: aws-gamekit-authentication assembly:<unknown assembly> type:<unknown type> member:(null)
AWS.GameKit.Runtime.Core.SessionManagerWrapper+<>c__DisplayClass15_0.<SessionManagerInstanceRelease>b__0 () (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Core/SessionManagerWrapper.cs:92)
AWS.GameKit.Runtime.Utils.DllLoader.TryDll (System.Action importedMethod, System.String dllName) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Utils/DllLoader.cs:24)
UnityEngine.Debug:LogException(Exception)
AWS.GameKit.Runtime.Utils.<>c__DisplayClass40_0:<LogException>b__0() (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Utils/Logging.cs:127)
AWS.GameKit.Runtime.Utils.Logging:LogInUnity(Level, Action) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Utils/Logging.cs:211)
AWS.GameKit.Runtime.Utils.Logging:LogException(Object, Exception) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Utils/Logging.cs:125)
AWS.GameKit.Runtime.Utils.DllLoader:LogDllException(Exception, String) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Utils/DllLoader.cs:99)
AWS.GameKit.Runtime.Utils.DllLoader:TryDll(Action, String) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Utils/DllLoader.cs:28)
AWS.GameKit.Runtime.Core.SessionManagerWrapper:SessionManagerInstanceRelease(IntPtr) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Core/SessionManagerWrapper.cs:92)
AWS.GameKit.Runtime.Core.SessionManagerWrapper:ReleaseInstance() (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Core/SessionManagerWrapper.cs:61)
AWS.GameKit.Runtime.Core.SessionManager:Release() (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Core/SessionManager.cs:221)
AWS.GameKit.Runtime.Core.GameKitManager:Dispose() (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Core/GameKitManager.cs:90)
AWS.GameKit.Runtime.Core.GameKitManager:Finalize() (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Core/GameKitManager.cs:47)
DllNotFoundException: aws-gamekit-core assembly:<unknown assembly> type:<unknown type> member:(null)
AWS.GameKit.Runtime.Core.CoreWrapper+<>c__DisplayClass93_0.<DeploymentOrchestratorInstanceCreate>b__0 () (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Core/CoreWrapper.cs:401)
AWS.GameKit.Runtime.Utils.DllLoader.TryDll[T] (System.Func`1[TResult] importedMethod, System.String dllName, T returnOnError) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Utils/DllLoader.cs:41)
UnityEngine.Debug:LogException(Exception)
AWS.GameKit.Runtime.Utils.<>c__DisplayClass40_0:<LogException>b__0() (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Utils/Logging.cs:127)
AWS.GameKit.Runtime.Utils.Logging:LogInUnity(Level, Action) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Utils/Logging.cs:211)
AWS.GameKit.Runtime.Utils.Logging:LogException(Object, Exception) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Utils/Logging.cs:125)
AWS.GameKit.Runtime.Utils.DllLoader:LogDllException(Exception, String) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Utils/DllLoader.cs:99)
AWS.GameKit.Runtime.Utils.DllLoader:TryDll(Func`1, String, IntPtr) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Utils/DllLoader.cs:45)
AWS.GameKit.Runtime.Core.CoreWrapper:DeploymentOrchestratorInstanceCreate(String, String) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Runtime/Scripts/Core/CoreWrapper.cs:401)
AWS.GameKit.Editor.Core.FeatureDeploymentOrchestrator:.ctor(ICoreWrapperProvider, String, String) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Editor/Scripts/Core/FeatureDeploymentOrchestrator.cs:35)
AWS.GameKit.Editor.Core.FeatureDeploymentOrchestrator:.ctor(String, String) (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Editor/Scripts/Core/FeatureDeploymentOrchestrator.cs:42)
AWS.GameKit.Editor.GameKitEditorManager:.ctor() (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Editor/Scripts/GameKitEditorManager.cs:76)
System.Lazy`1:get_Value()
AWS.GameKit.Common.Singleton`1:Get() (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Common/Scripts/Utils/Singleton.cs:22)
AWS.GameKit.Editor.GameKitEditorManager:.cctor() (at Library/PackageCache/com.amazonaws.gamekit@feb6116c1f05/Editor/Scripts/GameKitEditorManager.cs:57)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(Type[])

(These errors are repeated a few time)

I've tried removing and adding the gamekit package, I've restarted Unity, but still getting the same error.

Any help would be greatly appreciated, thanks!

Getea7 commented 1 year ago

I just tried using v1.0 from here (https://docs.aws.amazon.com/gamekit/latest/Releases/releases-versions.html) and it worked without the dll error.