playMaker

Author Topic: Array Doesn't Appear to Update in FSM but can be used.  (Read 1513 times)

westingtyler

  • Sr. Member
  • ****
  • Posts: 277
    • My Video Game Projects Web Site
Array Doesn't Appear to Update in FSM but can be used.
« on: October 01, 2018, 02:11:23 PM »
Area: Editor, Play Mode
Frequency: Always

1) What happened

I use Easy Save 2 and 3's Get Files from a folder into a string array, but the array does not appear to update in the FSM, but after that if I use Array Get, I can retrieve the strings at their appropriate indices.

here is a thread describing the problem in detail I made at the Easy Save forum, with screenshots:
https://moodkie.com/forum/viewtopic.php?f=5&t=1499&p=5140#p5140

2) How can we reproduce it

i explained it above, and in the thread i show images of the actions I used. if more is needed let me know.

Unity Info:
Unity Version: 2018.2.4f1
Playmaker Version: 1.9.0.f5
BuildTarget: StandaloneWindows64

System Info:
OS: Windows 10  (10.0.0) 64bit
Processor: AMD FX(tm)-4130 Quad-Core Processor
System Memory: 32749
Graphics Device: NVIDIA GeForce GTX 970

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Array Doesn't Appear to Update in FSM but can be used.
« Reply #1 on: October 02, 2018, 02:28:31 AM »
Hi.
Its possible the action does not have SaveChanges on the end of the script.

theArray.SaveChanges();