Repository navigation
NullReferenceException in DemoScene with Unity 6.6 #48
willyx78
started this conversation in
Master Inventory Engine
Replies: 1 comment
|
Update: I solved the issue. The SGD_Settings.asset was already present and correctly assigned under Project Settings → SoftKitty → Data Settings, but apparently the config object was not registered in EditorBuildSettings. I simply removed and re-assigned the SGD_Settings configuration in the Data Settings, and after that: EditorBuildSettings.TryGetConfigObject() returned True So it looks like the issue was just that the configuration needed to be re-registered. Hopefully this helps anyone else who runs into the same problem! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I just purchased Master Inventory Engine Pro and I'm having an issue running the DemoScene in a completely clean project.
I tested it with both:
Unity 6.6
Unity 6.3 LTS
URP 2D
Latest version of Master Inventory Engine Pro from the Asset Store
In both Unity versions I get exactly the same errors.
I created a completely new project, imported the package following the official installation instructions, and opened the provided DemoScene without making any modifications. All the required SoftKitty Data Objects appear to be present and assigned.
When I press Play, I first get:
NullReferenceException: Object reference not set to an instance of an object
SoftKitty.ItemObject.get_instance ()
(at Assets/SoftKitty/InventoryEngine/Scripts/Core/ItemObject.cs:287)
SoftKitty.ItemObject.OnBeforeSceneLoad ()
(at Assets/SoftKitty/InventoryEngine/Scripts/Core/ItemObject.cs:499)
at return SGD_Settings.Instance.GetData();
After that, I get an endless stream of:
NullReferenceException: Object reference not set to an instance of an object
SoftKitty.GameManager.get_EntityManagerData ()
(at Assets/SoftKitty/Shared/Scripts/Core/Gameplay/GameManager.cs:87)
SoftKitty.EntityComponent.Awake ()
(at Assets/SoftKitty/Shared/Scripts/Core/Gameplay/EntityComponent.cs:150)
Since the exact same problem occurs in both Unity 6.6 and Unity 6.3 LTS, it doesn't seem to be related to Unity 6.6 specifically.
Is there anything else that needs to be configured before running the DemoScene that is not mentioned in the installation guide?
Could this be an issue with the current package version, or is there a specific setting/data object that I should check?
Thanks!
All reactions