Didn't expect to have to come back so quickly -> but I've bumped into related issues.
So everything appears to work in edit mode (i.e. everything loads) -> but when I tested using build mode -> the problems that were resolved (missing sprites + effects) seems to have come back.
Code: Select all
ArgumentException: The Object you want to instantiate is null.
at UnityEngine.Object.CheckNullArgument (System.Object arg, System.String message) [0x00009] in <f96c34788b094e3c84c2515f70a061aa>:0
at UnityEngine.Object.Instantiate[T] (T original) [0x00001] in <f96c34788b094e3c84c2515f70a061aa>:0
at CCGKit.PlayAnimationAction.Execute (UnityEngine.GameObject go) [0x0000d] in E:\Unity\Asset Testing\Single Player CCG\CCG Mod\Assets\SinglePlayerCCGKit\Scripts\Actions\PlayAnimationAction.cs:26
at CCGKit.EffectResolutionSystem.ResolveCardEffects (CCGKit.RuntimeCard card, CCGKit.CharacterObject playerSelectedTarget) [0x00169] in E:\Unity\Asset Testing\Single Player CCG\CCG Mod\Assets\SinglePlayerCCGKit\Scripts\Systems\EffectResolutionSystem.cs:165
at CCGKit.CardWithArrowSelectionSystem.PlaySelectedCard () [0x00019] in E:\Unity\Asset Testing\Single Player CCG\CCG Mod\Assets\SinglePlayerCCGKit\Scripts\Systems\CardWithArrowSelectionSystem.cs:159
at CCGKit.CardWithArrowSelectionSystem.DetectEnemySelection () [0x00070] in E:\Unity\Asset Testing\Single Player CCG\CCG Mod\Assets\SinglePlayerCCGKit\Scripts\Systems\CardWithArrowSelectionSystem.cs:119
at CCGKit.CardWithArrowSelectionSystem.Update () [0x00060] in E:\Unity\Asset Testing\Single Player CCG\CCG Mod\Assets\SinglePlayerCCGKit\Scripts\Systems\CardWithArrowSelectionSystem.cs:63
Is there something that needs to be done in addition for the build version?/ Any idea as to what may be the cause of this?
Best Regards,
C