0
Fixed

Application variable not resetting when exiting play mode

JLevstein 4 weeks ago • updated by Lazlo Bonin (Lead Developer) 1 week ago 5

Hey there, just tested this on a fresh project and it seems like when I remove an item from a List<string> application variable via a script, the variable isn't reset when exiting play mode.

Seems to be fine when I make a build though.

Reproduction:

  1. Create an application variable with the type "List of string"
  2. Add a bunch of strings
  3. Remove items during play mode via script
  4. Exit play mode
Bolt Version:
1.4.1
Unity Version:
2018.3.7f1
.NET Version:
4.x
+1
Working on Fix

Confirmed, that's very troublesome! I'll have a look at what's causing it, seems like the list reference stays the same.

+1
Fixed in Hotfix

Got it, will be fixed for v.1.4.2, thanks for the report!

Thank you! Can't wait 😀