playMaker

Author Topic: Unity 2017.1 & playmaker 1.8.4  (Read 365 times)

xESWxDEATH

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Unity 2017.1 & playmaker 1.8.4
« on: July 29, 2017, 01:30:20 PM »
With a brand new project and freshly installed unity when importing playmaker and installing it i get this error.

I only get this error when i actually open the playmaker editor window. I have went through playmakers code in unity and have come to the conclusion that whatever function in playmaker.dll handles texture loading in the playmaker editor window has to be changed from Texture2D.LoadImage to ImageConversion.LoadImage as shown here. https://docs.unity3d.com/ScriptReference/ImageConversion.LoadImage.html

I really need playmaker to continue working so please help me out if im wrong and there is a fix.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3181
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Unity 2017.1 & playmaker 1.8.4
« Reply #1 on: July 29, 2017, 03:18:53 PM »
The Unity API Updater should handle this automatically.

Things to try:
  • Make sure you have the latest version of Playmaker from the Asset Store
  • Let the API Updater run when you update the project.
  • Or run the API Updater from the Assets menu.
  • Restart Unity.

xESWxDEATH

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Unity 2017.1 & playmaker 1.8.4
« Reply #2 on: July 29, 2017, 04:46:49 PM »
I've tried redownloading playmaker and i have always run the api updater but the problem lies in the dll not the api changeable cs files. I have debugged it and it is telling me that the fsmEditor.OnGUI() is where it has the issue. I then went through all the playmaker files and found the FsmEditor class and sure enough it has a function OnGUI() but its blank leading me to believe that its a OOP approach and that it has been pulling the super class function from the playmaker.dll. Again correct me if i am wrong. But i had other friends that own play maker try to set it up and they also get the same issue even running the api updater.

xESWxDEATH

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Unity 2017.1 & playmaker 1.8.4
« Reply #3 on: July 29, 2017, 04:50:00 PM »
P.S in the image also notice that in the file path it shows the name Alex that is not my pc name and Texture2D.LoadImage is not used in the playmaker c# files so this leads me even more to think that the issue is the playmaker.dll or wherever else that might be defined. Also is playmaker 1.8.4 the most recent release to the asset store?
« Last Edit: July 29, 2017, 05:08:51 PM by xESWxDEATH »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3181
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Unity 2017.1 & playmaker 1.8.4
« Reply #4 on: July 29, 2017, 08:03:27 PM »
The Unity API updater updates dlls also.
I just tried it here and it works as expected.
What version of Unity are you using?

Yes, 1.8.4 is the latest version in the store.
The paths stored in the dll debug info are the original paths to the source files when compiled, hence the Alex in the path :)
« Last Edit: July 29, 2017, 08:57:25 PM by Alex Chouls »

xESWxDEATH

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Unity 2017.1 & playmaker 1.8.4
« Reply #5 on: July 29, 2017, 08:06:24 PM »
Unity 2017.1.0f3 is the version im on and for whatever reason it won't fix that one error no matter how many times i run the api updater i tried reinstalling unity again and redownloaded playmaker from the asset store since my last message and i am still having the issue.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3181
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Unity 2017.1 & playmaker 1.8.4
« Reply #6 on: July 29, 2017, 09:08:42 PM »
Just to double check, you restarted Unity after the API Updater ran? Sometimes it takes a restart to clear the error.

I'm not able to repro here. I saw it once in the past, but a restart fixed it. Maybe check if the project directory is write protected or disk is full? Maybe turn off anti-virus? Basically, something that might be interfering with the API updater...


xESWxDEATH

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Unity 2017.1 & playmaker 1.8.4
« Reply #7 on: July 29, 2017, 09:34:00 PM »
Well i have my project on a hard drive that has 128gb of space left and i set the permissions of the drive and folder to me with full access i did restart it no matter how many times i do it still does it. I use an antivirus and i have windows defender off by default. The only programs running currently are discord, steam and unity as well as all the background processes windows needs by default.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3181
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Unity 2017.1 & playmaker 1.8.4
« Reply #8 on: July 29, 2017, 10:35:15 PM »
Can you zip the project and email it to me using my profile email? (Please don't post it).

Also please submit a Unity bug, and include the project, explaining that the API Updater fails to update the PlayMaker dll. I know the Unity team tests PlayMaker during Unity beta cycles to make sure the updater works, so there must be something particular to your setup that breaks it.

Worst case I can provide you with updated dlls, but I would also like to figure out what's happening in your case. We've had a few reports, but installing the latest Playmaker and running the API Updater has always fixed it.

EDIT: Did you try turning your anti-virus off while importing? It could be preventing the API Updater from modifying the dll.
« Last Edit: July 29, 2017, 10:37:35 PM by Alex Chouls »

xESWxDEATH

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Unity 2017.1 & playmaker 1.8.4
« Reply #9 on: July 29, 2017, 10:54:35 PM »
I sent the project files to you and i will submit the bug report in a couple minutes to unity. To your question about the antivirus i don't have one, Although windows defender comes with windows 10 i have it disabled always as soon as windows starts.

xESWxDEATH

  • Playmaker Newbie
  • *
  • Posts: 7
    • View Profile
Re: Unity 2017.1 & playmaker 1.8.4
« Reply #10 on: July 31, 2017, 09:02:49 PM »
Any news on a fix or some dlls?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3181
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Unity 2017.1 & playmaker 1.8.4
« Reply #11 on: August 02, 2017, 03:33:51 PM »
I haven't got any projects in the mail yet. I'll PM you.