Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Silicon Power on September 17, 2019, 07:23:07 PM
-
I'm using Unity 2018.3.1f1 but Resources Load All action doesn't work at all :( I think there is an issue.
I have 5 materials in a folder with a name of DB inside Assets/AA/Resources. So I enter path like below example but it can't store in Array at all.
Assets/AA/Resources/DB
AA/Resources/DB
Resources/DB
DB
But doesn't worked :-[
-
Anybody have the same issue?
-
Hi.
For Resources Load i know that you need to only use (in your case) DB/filename
So DB should work.
I did a quick test on my end (unity 2018.3.10f1) and it seems to work here.
(Rootfolder : Resources, subfolder : Mats)
(https://i.imgur.com/jR5T0v3.png)
are you sure you set the array as material?
-
Hi.
For Resources Load i know that you need to only use (in your case) DB/filename
So DB should work.
I did a quick test on my end (unity 2018.3.10f1) and it seems to work here.
(Rootfolder : Resources, subfolder : Mats)
(https://i.imgur.com/jR5T0v3.png)
are you sure you set the array as material?
Thanks but I need Resource Load All. "Resource Load" works for me too but I need Resource Load All and that would be really cool to have such a useful action.
-
Hi.
The test i did was with 'resources Load All' (see image)
i Made a array set to 'material'
and made a folder 'Resources' then another folder inside 'Mats' and created some materials.
it seems to be working on my end.
Make sure the array is set to 'material' and if you did change it is best also to remove the action and place a new version of the action.
Also for the path only place what comes After 'Resources/' and make sure capitals are correct and no spaces at the end.
and set breakpoint after the succes and failure events to see if it failed or not.
if it still does not work, try on a new scene. with only the resource load action and an array
-
Hi.
The test i did was with 'resources Load All' (see image)
i Made a array set to 'material'
and made a folder 'Resources' then another folder inside 'Mats' and created some materials.
it seems to be working on my end.
Make sure the array is set to 'material' and if you did change it is best also to remove the action and place a new version of the action.
Also for the path only place what comes After 'Resources/' and make sure capitals are correct and no spaces at the end.
and set breakpoint after the succes and failure events to see if it failed or not.
if it still does not work, try on a new scene. with only the resource load action and an array
Thank you. It just solved by updating PlayMaker to the last version :)