Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Another Bug Report:


2 errors showed up in Level 2:

NullReferenceException: Object reference not set to an instance of an object<br><br>Assets.Scripts.Components.Motives.MotiveIntensityPairWithBuffs.SetValue (Single newValue)
Assets.Scripts.Components.Motives.MotiveIntensityPair.OverrideMaxValue (Single newMaxValue)
Assets.Scripts.Components.Motives.MotiveIntensityPair.OnLinkedStatChanged (Single oldValue, Single newValue)
Assets.Scripts.Components.Stats.StatData.Recalculate ()
Assets.Scripts.Components.StatisticComponent.ApplyModifiers ()
Assets.Scripts.Components.Buff.BuffInstance.ApplyStatModifiers ()
Assets.Scripts.Components.Buff.BuffInstance.OnAdd ()
Assets.Scripts.Components.BuffComponent.AddBuff (Assets.Scripts.Components.Buff.BuffDefinition buff)
Assets.Scripts.Components.Motives.MotiveIntensityPairWithBuffs.SetValue (Single newValue)
Assets.Scripts.Components.Motives.MotiveIntensityPair.ChangeValue (Single change)
Assets.Scripts.Interactions.Definitions.CombatInteractionA+CombatInteractionAInteraction.ResolveAttack ()
Assets.Scripts.Interactions.Definitions.CombatInteractionA+CombatInteractionAInteraction.OnSwingEvent (Int32 eventId)
Assets.Scripts.Animation.AnimEventTrigger.OnStateUpdate (UnityEngine.Animator animator, AnimatorStateInfo stateInfo, Int32 layerIndex)


NullReferenceException: Object reference not set to an instance of an object<br><br>Assets.Scripts.Components.Motives.MotiveIntensityPairWithBuffs.SetValue (Single newValue)
Assets.Scripts.Components.Motives.MotiveIntensityPair.OverrideMaxValue (Single newMaxValue)
Assets.Scripts.Components.Motives.MotiveIntensityPair.OnLinkedStatChanged (Single oldValue, Single newValue)
Assets.Scripts.Components.Stats.StatData.Recalculate ()
Assets.Scripts.Components.StatisticComponent.ApplyModifiers ()
Assets.Scripts.Components.Buff.BuffInstance.OnRemove ()
Assets.Scripts.Components.BuffComponent.RemoveBuff (System.String key)
Assets.Scripts.Components.Motives.MotiveIntensityPairWithBuffs.SetValue (Single newValue)
Assets.Scripts.Components.Motives.MotiveIntensityPair.ChangeValue (Single change)
Assets.Scripts.Interactions.Definitions.CombatInteractionA+CombatInteractionAInteraction.ResolveAttack ()
Assets.Scripts.Interactions.Definitions.CombatInteractionA+CombatInteractionAInteraction.OnSwingEvent (Int32 eventId)
Assets.Scripts.Animation.AnimEventTrigger.OnStateUpdate (UnityEngine.Animator animator, AnimatorStateInfo stateInfo, Int32 layerIndex)

Thanks for letting me know. I wish unity builds had line numbers ... 
Does this happen consistently in your save? If so, could you please send me your save? 

(1 edit)

yeah, I think it mostly happens when units are automaticly doing jobs, it seemed to happen when Leandre was fighting alot, I'll send you a save when I can.

also although this was probably unavoidable the AI on the cats is totally screwed up if you load a save from the past update, I haven't tested if this is also the case for the current update yet.


(also sorry if I made a mess of your forum by deleting my past posts, I didn't think it would have "post deleted" still lingering, I was just trying to clear the clutter :P)

Oh no, please don't delete your past posts. I like the record T_T

The saves made using version 0.3 are supposed to be compatible with each other, so if errors are happening on load, please send me the save. Thank you!

(2 edits)

Alright, I won't delete anymore uwu

also I haven't been able to replicate those errors yet so you'll have to wait till later.

also the thing with the AI may of been a false alarm, 

I forgot how often the cats swarm around the chest, I thought it was a bug :P

btw,  my farmer ran away, should he be allowed to do that?

(1 edit)

It's fine if you can't replicate it -- that probably means it's a timing issue, and those are the worst (blargh). I'd like to have the save still so I can test it on my end. I load up saves a lot, and eventually I'll catch the bug -- it's just a matter of time.

Lol I forgot the farmer could run because he's not a main character. It's technically intended, but since there's no way to get another one right now, it's pretty crappy if he does. Sorry! I'm working on designing a system to get more hero characters.

knock yourself out I guess :P

here