Bug: Coroutine Error: 'Spell Button 02' Inactive When Attempting to Lower Land

Coroutine Error: 'Spell Button 02' Inactive When Attempting to Lower Land

Status: Duplicate
Added by:
Kozonak
on October 24, '25
Reported for:

Steps to Reproduce

No steps to reproduce

Explanation

SpellButtonScript is experiencing an error where a coroutine cannot be started because the game object 'Spell Button 02' is inactive. This occurs when attempting to lower land, resulting in the coroutine failure and potential disruption of spell button functionality.

This issue was created from the following Discord message:
Bug report:
game spits out this error whenever I try to lower land (theres two of them, on for spell button 01 and one for 02

Coroutine couldn't be started because the the game object 'Spell Button 02' is inactive!
UnityEngine.Debug:ExtractStackTraceNoAlloc (byte*,int,string)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.MonoBehaviour:StartCoroutineManaged2 (System.Collections.IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator)
SpellButtonScript:TriggerCooldownEffect ()
SpellButtonScript:StartCooldownDisplay (single)
SpellButtonScript:UpdateCooldownState ()
SpellButtonScript:SetButton (UnityEngine.Sprite,string,int,int,int,int,bool,bool)
UIBuildingSpellController:UpdateSpellButtonsDirectly (System.Collections.Generic.List1,Tile,System.Collections.Generic.List1,SpellManager)
UIBuildingSpellController:SetAvailableSpellButtons (System.Collections.Generic.List1,Tile,System.Collections.Generic.List1,SpellManager,UnityEngine.GameObject)
UIBuildingSpellController:UpdateBuildContextInternal (Tile,GameManager,BuildingManager,SpellManager,System.Collections.Generic.List1,System.Collections.Generic.List1,UnityEngine.GameObject)
UIManager:UpdateBuildContext (Tile)
BuildingManager:UpdateBuildContext (Tile)
Tile:OnTileClicked ()
GameManager:HandleTileClick ()
GameManager:Update ()
Link

Watchers

Screenshots

None

Video Clips

None

Log Files

None

Device

No device information

No comments yet.

You need to join this project to comment on issues. Join Project