playMaker

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

westingtyler

  • Full Member
  • ***
  • Posts: 210
    • View Profile
    • My Oculus Rift + Touch VR Game Using Playmaker
Array Doesn't Appear to Update in FSM but can be used.
« on: October 01, 2018, 11:11:23 AM »
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: 3656
    • View Profile
    • jinxtergames
Re: Array Doesn't Appear to Update in FSM but can be used.
« Reply #1 on: October 01, 2018, 11:28:31 PM »
Hi.
Its possible the action does not have SaveChanges on the end of the script.

theArray.SaveChanges();