CBE Effects - Attempt to index local 'color' ( a nil value)

I am getting a Runtime error with my game. Another problem is that the error pops up only some of the times otherwise the game runs perfectly fine.

The error is -

CBEffects\cbe_core\vent_core\core.lua : 206 :attempt to index local ‘color’ ( a nil value )

The game heavily relies on CBEffects. I cannot do without it. Please guide.

Sorry for not responding sooner.

Can you give me some more information on this problem? Is it still occurring? How are you setting the color? In a custom manner (i.e. the ‘color’ parameter is a function)?

  • Caleb

The problem is solved now Caleb.

Apparently I was trying to change the color values outside the vent declaration. That was the causing the weird behavior. 

Sorry for not responding sooner.

Can you give me some more information on this problem? Is it still occurring? How are you setting the color? In a custom manner (i.e. the ‘color’ parameter is a function)?

  • Caleb

The problem is solved now Caleb.

Apparently I was trying to change the color values outside the vent declaration. That was the causing the weird behavior.