Skip to content

Final Debugging

Final Debugging #371

Triggered via push April 24, 2024 06:25
Status Failure
Total duration 4m 17s
Artifacts

unity_ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 3 warnings
BuildButtonTest.TestOutOfFrame: Crypto Wars/Assets/Scripts/GUI/BuildButtonScript.cs#L55
System.NullReferenceException : Object reference not set to an instance of an object
BuildingTest.testAddCardsToInventory: Crypto Wars/Assets/Scripts/Inventory.cs#L23
System.NullReferenceException : Object reference not set to an instance of an object
CancelButtonTest.TestDeactivate: Crypto Wars/Assets/Scripts/GUI/CancelButton.cs#L18
System.NullReferenceException : Object reference not set to an instance of an object
InventoryTests.TestAddCardToStack_WhenNoStackExists: Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
InventoryTests.TestAddCardToStack_WhenStackAlreadyExists: Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
InventoryTests.TestMoveCardFromHand: Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
InventoryTests.TestMoveCardToHand: Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
InventoryTests.TestRemoveCardFromStackNoIndex_MutipleCardsRemaining: Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
InventoryTests.TestRemoveCardFromStackNoIndex_OneCardRemaining: Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
InventoryTests.TestRemoveCardFromStackWithValidIndex: Crypto Wars/Assets/Scripts/Test_EditMode/InventoryTest.cs#L23
SetUp : System.NullReferenceException : Object reference not set to an instance of an object
MapGeneratorTests.TestMapGeneration: Crypto Wars/Assets/Scripts/MapGenerator.cs#L68
System.NullReferenceException : Object reference not set to an instance of an object
PlayerListTest.testVisibilityToggle: Crypto Wars/Assets/Scripts/Test_EditMode/PlayerListTest.cs#L15
System.NullReferenceException : Object reference not set to an instance of an object
TestingforTests.Testing: Crypto Wars/Assets/Scripts/Test_EditMode/TestingforTests.cs#L12
System.NullReferenceException : Object reference not set to an instance of an object
testWinConditions.testFindWinner: Crypto Wars/Assets/Scripts/WinConditions.cs#L114
System.NullReferenceException : Object reference not set to an instance of an object
testWinConditions.testGameOver: /home/bokken/build/output/unity/unity/Runtime/Export/SceneManager/SceneManager.bindings.cs#L39
System.InvalidOperationException : This can only be used during play mode, please use EditorSceneManager.OpenScene() instead.
EndTurnTest.TestPhaseIncrement: Crypto Wars/Assets/Scripts/EndTurn.cs#L65
System.NullReferenceException : Object reference not set to an instance of an object
EndTurnTest.TestTurnNumberIncrement: Crypto Wars/Assets/Scripts/EndTurn.cs#L65
System.NullReferenceException : Object reference not set to an instance of an object
EscapeMenuTest.TestToggleMenu: Crypto Wars/Assets/Scripts/GUI/EscapeMenu.cs#L129
UnityEngine.MissingReferenceException : The object of type 'GameObject' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object.
GameManagerTest.DoAllBattles_AttackerWins_TileTransferred: Crypto Wars/Assets/Scripts/GameManager.cs#L111
System.NullReferenceException : Object reference not set to an instance of an object
GameManagerTest.DoAllBattles_DefenderWins_NoTileTransferred: Crypto Wars/Assets/Scripts/GameManager.cs#L106
System.NullReferenceException : Object reference not set to an instance of an object.
Test
Test(s) Failed! Check 'Test Results' for details.
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test
Not able to find annotation point for failed test! Test trace: AttackButtonScript.Deactivate () (at Assets/Scripts/GUI/AttackButtonScript.cs:28) AttackButtonScript.Awake () (at Assets/Scripts/GUI/AttackButtonScript.cs:20) UnityEngine.GameObject:AddComponent() AttackButtonScriptTest:SetUp() (at Assets/Scripts/Test_PlayMode/AttackButtonScriptTest.cs:14) System.Reflection.MethodBase:Invoke(Object, Object[]) NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object, Object[]) NUnit.Framework.Internal.Reflect:InvokeMethod(MethodInfo, Object) UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
Test
Not able to find annotation point for failed test! Test trace: MapGenerator.GenerateMap () (at Assets/Scripts/MapGenerator.cs:94) MapGenerator.Start () (at Assets/Scripts/MapGenerator.cs:34)