Fast forward bug

The engine is not working as expected? Documentation is wrong or out of date? Let us know here!
Forum rules
We are not providing support via this forum; it's community-driven. For official support see https://naninovel.com/support/#naninovel-support
Post Reply
dzj0821
Posts: 1
Joined: 15 Jan 2021 09:33

Fast forward bug

Post by dzj0821 »

Unity Version: 2019.4.16
Naninovel Version: 1.14

Script:
Hello!
@set a=1
@set a=a+2
{a}
@stop

In Editor mode, when engine running at line 1(Hello!), right click line 5({a}) and click "Rewind" in Inspector
Expected: 3
Actual: 2

Console Warning:
Custom variable a doesn't exist, but its value is requested in a script expression; this could lead to evaluation errors. Make sure to initialize variables with @set command or via Custom Variables configuration menu before using them.

It seems like line 2 be skipped?

Elringus
admin
Posts: 538
Joined: 11 May 2020 18:03

Re: Fast forward bug

Post by Elringus »

Hi, Thanks for sharing! I was able to reproduce this and will implement the fix in v1.15.

Post Reply