diff --git a/Assets/Scripts/OpenTS2/Engine/Tests/LotLoadingTest.cs b/Assets/Scripts/OpenTS2/Engine/Tests/LotLoadingTest.cs index d9511a3..78c9fe5 100644 --- a/Assets/Scripts/OpenTS2/Engine/Tests/LotLoadingTest.cs +++ b/Assets/Scripts/OpenTS2/Engine/Tests/LotLoadingTest.cs @@ -47,6 +47,8 @@ namespace OpenTS2.Engine.Tests private void Start() { + Core.InitializeCore(); + // Load effects. EffectsManager.Instance.Initialize(); diff --git a/Assets/Scripts/OpenTS2/Engine/Tests/ScenegraphGMDCTest.cs b/Assets/Scripts/OpenTS2/Engine/Tests/ScenegraphGMDCTest.cs index e3cc3fd..0098fa5 100644 --- a/Assets/Scripts/OpenTS2/Engine/Tests/ScenegraphGMDCTest.cs +++ b/Assets/Scripts/OpenTS2/Engine/Tests/ScenegraphGMDCTest.cs @@ -2,6 +2,7 @@ using OpenTS2.Common; using OpenTS2.Components; using OpenTS2.Content; using OpenTS2.Content.DBPF.Scenegraph; +using OpenTS2.Engine; using OpenTS2.Files; using OpenTS2.Files.Formats.DBPF; using UnityEngine; @@ -10,6 +11,8 @@ public class ScenegraphGMDCTest : MonoBehaviour { private void Start() { + Core.InitializeCore(); + var contentManager = ContentManager.Instance; // Load base game assets.