PlayMaker Help & Tips > PlayMaker Help

Core Gamekit/Pool Boss trouble[SOLVED]

(1/3) > >>

Fat Pug Studio:
Hi guys, i wrote on Brian's forum, but i'll post it here too since it's probably a Playmaker issue (which has CGK actions), since it's working fine (in PM 1.8.5 and Unity 2017.2.0f3) until i update it to 1.9.0, but i might as well check it out here too. Things get screwed up in both Unity 2017.2.0f3 and 2018.2. 999 errors appear as soon as i hit play, and here they are:



--- Code: ---Pool Boss has not initialized (does so in Awake event and may take additional frames if you configured it that way) and is not ready to be used yet. Check that PoolBoss.IsReady returns true before calling other methods.
--- End code ---

IsReady is private so i don't know how to check it.


--- Code: ---Could not spawn: xyz
--- End code ---


--- Code: ---No game object specified for 'Other Object For Position'
--- End code ---


--- Code: ---Coroutine couldn't be started because the the game object 'xyz (Clone x)' is inactive!
--- End code ---

Pools are filled, Playmaker works, the game works, prefabs are being spawned from pool, even though allow instantiate more is disabled, all the references and hash tables i draw my data from are intact, nothing seems out of the ordinary. And yet, the moment i hit play, 999 errors appear.

Fat Pug Studio:
Sorry, forgot the stack


--- Code: ---Pool Boss has not initialized (does so in Awake event and may take additional frames if you configured it that way) and is not ready to be used yet. Check that PoolBoss.IsReady returns true before calling other methods.
UnityEngine.Debug:LogError(Object)
DarkTonic.CoreGameKit.LevelSettings:LogIfNew(String, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Level/LevelSettings.cs:1231)
DarkTonic.CoreGameKit.PoolBoss:Spawn(Transform, Vector3, Quaternion, Transform) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:656)
DarkTonic.CoreGameKit.PoolBoss:SpawnInPool(Transform, Vector3, Quaternion) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:386)
CoreGameKitPoolBossSpawn:SpawnOne() (at Assets/Plugins/DarkTonic/CoreGameKit/PlaymakerCustomActions/CoreGameKitPoolBossSpawn.cs:103)
CoreGameKitPoolBossSpawn:OnEnter() (at Assets/Plugins/DarkTonic/CoreGameKit/PlaymakerCustomActions/CoreGameKitPoolBossSpawn.cs:41)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)
HutongGames.PlayMaker.FsmState:OnEnter() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)
HutongGames.PlayMaker.Fsm:EnterState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2767)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2714)
HutongGames.PlayMaker.Fsm:UpdateStateChanges() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2642)
HutongGames.PlayMaker.Fsm:Start() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1925)
HutongGames.PlayMaker.Fsm:ProcessEvent(FsmEvent, FsmEventData) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2212)
HutongGames.PlayMaker.Fsm:Event(FsmEventTarget, FsmEvent) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2375)
HutongGames.PlayMaker.Fsm:Event(FsmEvent) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2456)
PlayMakerFSM:OnDisable() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:631)
UnityEngine.GameObject:SetActive(Boolean)
DarkTonic.CoreGameKit.SpawnUtility:SetActive(GameObject, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Utility/SpawnUtility.cs:137)
DarkTonic.CoreGameKit.PoolBoss:InstantiateForPool(Transform, Int32) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:218)
DarkTonic.CoreGameKit.PoolBoss:CreatePoolItemClones(PoolBossItem, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:320)
DarkTonic.CoreGameKit.PoolBoss:ContinueInit() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:182)
DarkTonic.CoreGameKit.PoolBoss:Initialize() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:153)
DarkTonic.CoreGameKit.PoolBoss:Awake() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:127)
--- End code ---



--- Code: ---Assertion failed: Assertion failed on expression: 'go.IsActive() && go.GetTag() != 0'
UnityEngine.Camera:get_main()
HutongGames.PlayMaker.Actions.IsVisibleInCameraFrustrum:DoIsVisible() (at Assets/PlayMaker Custom Actions/GameObject/IsVisibleInCameraFrustrum.cs:84)
HutongGames.PlayMaker.Actions.IsVisibleInCameraFrustrum:OnEnter() (at Assets/PlayMaker Custom Actions/GameObject/IsVisibleInCameraFrustrum.cs:52)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)
HutongGames.PlayMaker.FsmState:OnEnter() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)
HutongGames.PlayMaker.Fsm:EnterState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2767)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2714)
HutongGames.PlayMaker.Fsm:UpdateStateChanges() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2642)
HutongGames.PlayMaker.Fsm:Start() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1925)
HutongGames.PlayMaker.Fsm:ProcessEvent(FsmEvent, FsmEventData) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2212)
HutongGames.PlayMaker.Fsm:Event(FsmEventTarget, FsmEvent) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2375)
HutongGames.PlayMaker.Fsm:Event(FsmEvent) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2456)
PlayMakerFSM:OnDisable() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:631)
UnityEngine.GameObject:SetActive(Boolean)
DarkTonic.CoreGameKit.SpawnUtility:SetActive(GameObject, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Utility/SpawnUtility.cs:137)
DarkTonic.CoreGameKit.PoolBoss:InstantiateForPool(Transform, Int32) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:218)
DarkTonic.CoreGameKit.PoolBoss:CreatePoolItemClones(PoolBossItem, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:320)
DarkTonic.CoreGameKit.PoolBoss:ContinueInit() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:182)
DarkTonic.CoreGameKit.PoolBoss:Initialize() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:153)
DarkTonic.CoreGameKit.PoolBoss:Awake() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:127)

--- End code ---


--- Code: ---Could not spawn: RandomDebris
UnityEngine.Debug:LogError(Object)
CoreGameKitPoolBossSpawn:SpawnOne() (at Assets/Plugins/DarkTonic/CoreGameKit/PlaymakerCustomActions/CoreGameKitPoolBossSpawn.cs:105)
CoreGameKitPoolBossSpawn:OnEnter() (at Assets/Plugins/DarkTonic/CoreGameKit/PlaymakerCustomActions/CoreGameKitPoolBossSpawn.cs:41)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)
HutongGames.PlayMaker.FsmState:OnEnter() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)
HutongGames.PlayMaker.Fsm:EnterState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2767)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2714)
HutongGames.PlayMaker.Fsm:UpdateStateChanges() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2642)
HutongGames.PlayMaker.Fsm:Start() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1925)
HutongGames.PlayMaker.Fsm:ProcessEvent(FsmEvent, FsmEventData) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2212)
HutongGames.PlayMaker.Fsm:Event(FsmEventTarget, FsmEvent) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2375)
HutongGames.PlayMaker.Fsm:Event(FsmEvent) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2456)
PlayMakerFSM:OnDisable() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:631)
UnityEngine.GameObject:SetActive(Boolean)
DarkTonic.CoreGameKit.SpawnUtility:SetActive(GameObject, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Utility/SpawnUtility.cs:137)
DarkTonic.CoreGameKit.PoolBoss:InstantiateForPool(Transform, Int32) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:218)
DarkTonic.CoreGameKit.PoolBoss:CreatePoolItemClones(PoolBossItem, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:320)
DarkTonic.CoreGameKit.PoolBoss:ContinueInit() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:182)
DarkTonic.CoreGameKit.PoolBoss:Initialize() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:153)
DarkTonic.CoreGameKit.PoolBoss:Awake() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:127)
--- End code ---


--- Code: ---No game object specified for 'Other Object For Position'
UnityEngine.Debug:LogError(Object)
CoreGameKitPoolBossSpawn:SpawnOne() (at Assets/Plugins/DarkTonic/CoreGameKit/PlaymakerCustomActions/CoreGameKitPoolBossSpawn.cs:95)
CoreGameKitPoolBossSpawn:OnEnter() (at Assets/Plugins/DarkTonic/CoreGameKit/PlaymakerCustomActions/CoreGameKitPoolBossSpawn.cs:41)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)
HutongGames.PlayMaker.FsmState:OnEnter() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)
HutongGames.PlayMaker.Fsm:EnterState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2767)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2714)
HutongGames.PlayMaker.Fsm:UpdateStateChanges() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2642)
HutongGames.PlayMaker.Fsm:Start() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1925)
HutongGames.PlayMaker.Fsm:ProcessEvent(FsmEvent, FsmEventData) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2212)
HutongGames.PlayMaker.Fsm:Event(FsmEventTarget, FsmEvent) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2375)
HutongGames.PlayMaker.Fsm:Event(FsmEvent) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2456)
PlayMakerFSM:OnDisable() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:631)
UnityEngine.GameObject:SetActive(Boolean)
DarkTonic.CoreGameKit.SpawnUtility:SetActive(GameObject, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Utility/SpawnUtility.cs:137)
DarkTonic.CoreGameKit.PoolBoss:InstantiateForPool(Transform, Int32) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:218)
DarkTonic.CoreGameKit.PoolBoss:CreatePoolItemClones(PoolBossItem, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:320)
DarkTonic.CoreGameKit.PoolBoss:ContinueInit() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:182)
DarkTonic.CoreGameKit.PoolBoss:Initialize() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:153)
DarkTonic.CoreGameKit.PoolBoss:Awake() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:127)

--- End code ---

Fat Pug Studio:
Well, Brian says PM actions trigger before poolboss is initialized, but there were no problems prior to update. hm.

jeanfabre:
Hi,

 you can forward contact to me, and I'll take over with Brian to solve this problem.

 Bye,

 Jean

Fat Pug Studio:
Sure Jean,

I'll send it to PM. Thanks. In the meanwhile, i'll try looking into itm

Navigation

[0] Message Index

[#] Next page

Go to full version