playMaker

Author Topic: exception java might be related to playmaker?  (Read 1154 times)

arminiuspp

  • Playmaker Newbie
  • *
  • Posts: 37
exception java might be related to playmaker?
« on: February 05, 2023, 03:11:36 AM »
exception java.lang.nullpointerexception: attempt to invoke virtual method 'int java.lang.string.hashcode()' on a null object referenceat com.unity3d.player.reflectionhelper$a.<init>at com.unity3d.player.reflectionhelper.getfieldid

had this error from logcat from google, anyone know what this might be and might be related to playmaker?

when I load a scene with playmaker it crashes the app

when I load a scene with just 2 cubes and a camera its good

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: exception java might be related to playmaker?
« Reply #1 on: February 05, 2023, 07:05:13 AM »
Hi.
Which unity/playmaker versions are you using?

arminiuspp

  • Playmaker Newbie
  • *
  • Posts: 37
Re: exception java might be related to playmaker?
« Reply #2 on: February 05, 2023, 07:11:32 AM »
2021.3.17f1 in unity

and playmaker 1.9.5

and also I have this weird thing with my app where from the main menu I load level 1 it crashes and shows that exception java log.

but when i load level one first, then go back to the main menu and play level 1 again it freaking works LMAO, I got internal testing on if you want to try and yes its all playmaker

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: exception java might be related to playmaker?
« Reply #3 on: February 05, 2023, 07:19:01 AM »
did you have installed some other assets?
as playmaker has nothing connected to java as far as i know.

do you have some "Get/Set Property" actions in your project?

If so, have you used the Linker Wizard?

of not, you should use linker wizard or replace the Get/Set Property actions with dedicated actions

arminiuspp

  • Playmaker Newbie
  • *
  • Posts: 37
Re: exception java might be related to playmaker?
« Reply #4 on: February 05, 2023, 07:26:04 AM »
Ookay I see, I do have gleyplugin for admob stuff. Will look into linker wizard now and yes I have a lot of set/get actually

arminiuspp

  • Playmaker Newbie
  • *
  • Posts: 37
Re: exception java might be related to playmaker?
« Reply #5 on: February 09, 2023, 11:48:26 PM »
Update : linker didn't fix it on my part. Had do to a work around on it by loading the scene that is not causing it. Don't know if this is usefull to any but goodluck with that error. Cheers

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: exception java might be related to playmaker?
« Reply #6 on: February 10, 2023, 06:36:52 AM »
Hi.
maybe that scene has a script to initiate the 'gleyplugin' copy the scene and try stripping it (remove gameobjects) until you get the error again