Fixed in Hotfix

formula bug

Elapse 2 months ago • updated by Lazlo Bonin (Lead Developer) 2 months ago 2


just updated to the latest bolt version and there is a bug in the formula modul. It doesn't update its values anymore, in my case in a for loop.

To simply recreate this issue: use a for loop (0;5;1) inside a input button event, a formula A+B connected to a debug.log message in the body and insert a literal integer 1 for A and the index for B.

When triggering, the debug.log always puts the literal integer out.

Greetz Marten

Bolt Version:
Unity Version:
.NET Version:
Satisfaction mark by Elapse 2 months ago
Working on Fix

Hi Elapse,

That's a regression introduced in v.1.4.0f11 indeed. I changed the Formula unit to cache its inputs. I realize now from your report that it can cause unwanted effects.

I'll change the behaviour back to normal in v1.4.0f12, and add an optional checkbox for input caching. Thanks for pointing it out!

Fixed in Hotfix

Fixed for v.1.4.0f12, added a checkbox (default false, previous behaviour):