Readyplayerme Null Reference in Build and Run in Unity

Original Discord Post by gamedev07 | 2024-11-15 05:14:32

NullReferenceException: Object reference not set to an instance of an object
ReadyPlayerMe.Core.Editor.GraphicsSettingsUtility.AddPreloadShaderVariants
i am getting this message every time i build and run in unity

Reply by k3kalinix | 2024-11-15 06:36:41

Hello <@984122612449968198> :wave:t2:,

Reply by k3kalinix | 2024-11-15 06:37:27

It seems to be related to ReadyPlayerMe SDK. Can you please try the Build option?

Reply by gamedev07 | 2024-11-15 06:50:49

i tryed but its getting stuck and apk is getting crash its is readyplayerme sdk issue but i only added your Convai sdk

Reply by k3kalinix | 2024-11-15 06:52:27

Yes, when you install the Convai SDK, RPM is automatically downloaded from RPM’s Github repository. If you don’t use RPM characters, we can remove them.

Reply by gamedev07 | 2024-11-15 06:58:00

ok then i am using cc4 character so can i remove it ?

Reply by k3kalinix | 2024-11-15 06:58:13

Yes

Reply by gamedev07 | 2024-11-15 06:58:35

ok then can please tell me when should i look to remove it ?

Reply by k3kalinix | 2024-11-15 06:59:19

First, back up your project

Reply by gamedev07 | 2024-11-15 06:59:24

okk

Reply by k3kalinix | 2024-11-15 06:59:54

Assets\Convai\Scripts\Editor\CustomPackage

Reply by k3kalinix | 2024-11-15 07:00:00

ReadyPlayerMeImporter.cs

Reply by k3kalinix | 2024-11-15 07:00:05

Delete this.

Reply by gamedev07 | 2024-11-15 07:02:16

ok thank you brother i quickly process and get back

Reply by gamedev07 | 2024-11-15 07:09:33

i did it but there is still readyplayerme in Package so what should i do about it?

Reply by k3kalinix | 2024-11-15 07:10:12

Yes, of course we have not completed our process, we have to go step by step.

Reply by k3kalinix | 2024-11-15 07:12:00

Project Settings → Player → Scripting Define Symbols

Delete ReadyPlayerMe

Reply by gamedev07 | 2024-11-15 07:15:39

ok project got crashed let me restart :sob:

Reply by gamedev07 | 2024-11-15 07:19:18

done this one now?

Reply by k3kalinix | 2024-11-15 07:20:02

Open the package manager and remove the RPM.