Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Rabagast on January 03, 2018, 09:29:59 PM
-
Hi!
I suddenly got a problem with Array Maker. When I add new items in an Array List in the Inspector window and then save the scene, when I then load the scene again, the changes I did are not saved. It will not save the changes. It saves other changes I do in Unity and Playmaker, but not Array Maker.
Does anybody else have this problem or can help me to solve this?
-
It still doesn't save any changes I make in Array Maker.
Any help, please?
-
Hi,
what version of Unity, PlayMaker and ArrayMaker are you using?
Are you sure you are not editing an instance of a prefab that then gets reverted or something?
Bye,
Jean
-
Hi,
Can you try moving the objects position (or rotation/scale) where the array proxy is in, move it back and then save.
-
Hi!
what version of Unity, PlayMaker and ArrayMaker are you using?
I use Unity 5.6.1, Playmaker 1.8.5. I also tried to update ArrayMaker from the Ecosystem. Where can I find the version number?
I got some problems with TextMesh Pro in Unity 2017.1 and 2017.2.
That's why I don't want to update.
Are you sure you are not editing an instance of a prefab that then gets reverted or something?
I don't have any prefab of that game object. But I tried to create a brand new game object, and add an Array to it. Then I add some float values. I saved the scene. When I load the scene again, the new game object with the Array and all the values where saved. When I changed the float values in the Array List, it didn't save.
Hi,
Can you try moving the objects position (or rotation/scale) where the array proxy is in, move it back and then save.
This was very strange. When I change the values in the Array List, and then move the object a bit, then it will save the changes, but I need to move the object every time I do some changes. Strange. Did you also experience this djaydino, Since you gave me this idea? :)
But why? Can it be a bug or something?
-
Hi.
Yes i have, for some reason it does not save the variables sometimes if nothing changed to the object.
If you download from the ecosystem you should always get the latest version btw.
@jean
Maybe something to do with 'set dirty'
I remember i had similar issues before on the 'Packager'
-
So probably it can be a bug in ArrayMaker? But I can't remember I always had this problem in this project, but I think I got the problem in another project some time ago.
Well, at least it save the changes as long as I remember to move the object a bit before I save the scene. :)
-
Hi,
uhm, let me fix this...
Bye,
Jean
-
Hi,
Ok, I can't reproduce this... which version of Unity are you using?
Bye.
Jean
-
Hi,
Ok, I can't reproduce this... which version of Unity are you using?
I'm using Unity 5.6.1 and Playmaker 1.8.5.
-
Hi,
I just can't repro this, this is odd. what data type do you use in that array? is the array or the hashtable?
Bye,
Jean
-
Hi,
I just can't repro this, this is odd. what data type do you use in that array? is the array or the hashtable?
Bye,
Jean
I didn't have this problem until recently. I remember I had this problem one time before. So normally it works fine, so I don't know how you can solve it when it comes so randomly.
I use Game Object and Float in my Arrays. And I use Array List and not Hashtable.
I made a video, so you can see the problem.
https://www.youtube.com/watch?v=RdRcIHxHDSs&feature=youtu.be (https://www.youtube.com/watch?v=RdRcIHxHDSs&feature=youtu.be)
-
Hi.
I made a repo for Jean, and the issue is actually not random.
He can repo it now and is looking for a solution.
In the top bar from unity you can see this :
(https://i.imgur.com/C5T8DyV.png)
But when you change something in the hierarchy you will see this :
(https://i.imgur.com/oOsLjCY.png)
Which means that unity saw that something has changed and you can save your scene.
Now try saving you scene and then change some values on the array list.
You will see that there is no star.
So if you would reload the scene or close unity and reopen, the changes will not be saved.
-
Now try saving you scene and then change some values on the array list.
You will see that there is no star.
I can't see any star when I do some changes in the scene. I'm using Mac. Maybe there is no star on Mac when I do some changes.
-
Hi,
Aw kk.
I am on pc, indeed this might be different... i can't test as i don't have a mac (yet)
but the concept is still the same.
When you recently saved your scene or when you just loaded your scene.
and only changed some values on the array it will not be saved (even if you pressed save)
And i just tested and noticed that for example the 'PlayMakerUGuiComponentProxy' has this problem also.
Repo :
Place the 'PlayMakerUGuiComponentProxy' on (for example) a 'Button'
Then save the scene.
Then do some changes on the 'PlayMakerUGuiComponentProxy' component.
Then Save.
Then Reload scene.
Result changes are gone.(Tested on pc, unity 2017.3, PM 1.8.6)
-
Hi!
I tried to change the value in an array, but I didn't save the scene, because every time we do changes in Unity, a window will appear with the message "Scene(s) have been modified." And this window didn't appear when I only did changes in the array, but when I also did other changes in Unity, then the window appeared and asked me if I want to save.
Place the 'PlayMakerUGuiComponentProxy' on (for example) a 'Button'
Then save the scene.
Then do some changes on the 'PlayMakerUGuiComponentProxy' component.
Then Save.
Then Reload scene.
You're right. I also tried it. And Unity didn't ask me to save when I only did changes in 'PlayMakerUGuiComponentProxy'.
-
Hi,
Yes, I am on It, I can repro, but it's really odd, I haven't nailed it yet... but I should solve this today or tomorow.
Bye,
Jean
-
Hi,
ok, I got it, can you update the ArrayMaker Package from the Ecosystem and check? When you confirm on your end, I'll tweet about it and propagate to the uGui proxies and likely other proxies as well.
Bye,
Jean
-
Hi, Jean!
I updated ArrayMaker, but first, it didn't work. Then I restarted Unity, but Playmaker just disappeared from the drop down menu. I tried to update Playmaker, but it didn't help. Maybe I need to update Unity? I using Unity 5.6.1. I took a backup of my project before updating as I always do. :)
I will try to restart Unity again now after I updated Playmaker.
-
I just posted a new topic about this.
Installing array maker from the ecosytem makes playmaker to not to being loaded.
http://hutonggames.com/playmakerforum/index.php?topic=16451.0 (http://hutonggames.com/playmakerforum/index.php?topic=16451.0)
-
Installing array maker from the ecosystem makes playmaker to not to being loaded.
Hi!
I just updated to Unity 2017.3, but I didn't updated ArrayMaker from the Ecosystem with this Unity version, so maybe I should wait a bit.
-
Hi,
Ok, I messed up the packaging, I rebuilt it, so now it should be fine :)
Bye,
Jean
-
Ok, I messed up the packaging, I rebuilt it, so now it should be fine :)
Hi, Jean!
I just want to say that everything is working now.
Thanks for the update. :)
-
Hi,
Cool Thanks :)
Bye,
Jean