DotLab / TouhouMix

A Touhou Project themed mix 'em all rhythm game.
https://thmix.org
Other
17 stars 1 forks source link

Long block often break #12

Open Kailang opened 4 years ago

Kailang commented 4 years ago

image

Kailang commented 4 years ago

Tentatively fixed in 5de5efd1f2072d45cd9608cb8408fc42a4404795 by checking if a block is freed twice before freeing the said block.

Need investigate why the block is freed twice. Guess it is about how the "TouchUp" interacts with the long blocks.

07-19 13:08:02.022  9344  9386 E Unity   : Duplicated free at 0 with free start at 0
07-19 13:08:02.022  9344  9386 E Unity   : UnityEngine.Logger:LogFormat(LogType, String, Object[])
07-19 13:08:02.022  9344  9386 E Unity   : UnityEngine.Debug:LogErrorFormat(String, Object[])
07-19 13:08:02.022  9344  9386 E Unity   : Systemf.ActiveFreeContainer`1:FreeItem(T)
07-19 13:08:02.022  9344  9386 E Unity   : TouhouMix.Levels.Gameplay.OneOnlyGameplayManagerV2:FreeSkin(String, BlockSkinController)
07-19 13:08:02.022  9344  9386 E Unity   : TouhouMix.Levels.Gameplay.OneOnlyGameplayManagerV2:HideAndFreeTouchedBlock(Block)
07-19 13:08:02.022  9344  9386 E Unity   : TouhouMix.Levels.Gameplay.OneOnlyGameplayManagerV2:ProcessTouchUp(Int32, Single, Single)
07-19 13:08:02.022  9344  9386 E Unity   : TouhouMix.Levels.Gameplay.GameplayLevelScheduler:BounceTouchesUp()
07-19 13:08:02.022  9344  9386 E Unity   : TouhouMix.Levels.Gameplay.GameplayLevelScheduler:ProcessTouches()
07-19 13:08:02.022  9344  9386 E Unity   : TouhouMix.Levels.Gameplay.GameplayLevelScheduler:Update()
07-19 13:08:02.022  9344  9386 E Unity   :
07-19 13:08:02.022  9344  9386 E Unity   : (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
07-19 13:08:02.022  9344  9386 E Unity   :
07-19 13:08:02.028  9344  9386 E Unity   : Duplicated free at 0 with free start at 0
07-19 13:08:02.028  9344  9386 E Unity   : UnityEngine.Logger:LogFormat(LogType, String, Object[])
07-19 13:08:02.028  9344  9386 E Unity   : UnityEngine.Debug:LogErrorFormat(String, Object[])
07-19 13:08:02.028  9344  9386 E Unity   : Systemf.ActiveFreeContainer`1:FreeItem(T)
07-19 13:08:02.028  9344  9386 E Unity   : TouhouMix.Levels.Gameplay.OneOnlyGameplayManagerV2:ProcessTouchUp(Int32, Single, Single)
07-19 13:08:02.028  9344  9386 E Unity   : TouhouMix.Levels.Gameplay.GameplayLevelScheduler:BounceTouchesUp()
07-19 13:08:02.028  9344  9386 E Unity   : TouhouMix.Levels.Gameplay.GameplayLevelScheduler:ProcessTouches()
07-19 13:08:02.028  9344  9386 E Unity   : TouhouMix.Levels.Gameplay.GameplayLevelScheduler:Update()
07-19 13:08:02.028  9344  9386 E Unity   :
07-19 13:08:02.028  9344  9386 E Unity   : (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)