unity实例化对象的问题,单实例化,字符串的报错

把场景拖到unity里面直接就提示报错,一开始有一个什么3d模型的报错,提示的是素材导出的模型有问题
下面是错误信息及代码(求指导)

img


##错误报告
instance object should be a singleton.
UnityEngine.Debug:LogError(Object)
PLOG:E(String) (at Assets/PicoMobileSDK/Pvr_UnitySDK/LogUtils.cs:36)
Pvr_ControllerManager:Awake() (at Assets/PicoMobileSDK/Pvr_Controller/Scripts/Pvr_ControllerManager.cs:131)
###

img

源代码

// Copyright 2015-2020 Pico Technology Co., Ltd. All Rights Reserved.

using UnityEngine;

public class PLOG : MonoBehaviour
{
public static int logLevel = 0;
public static void getConfigTraceLevel()
{
#if !UNITY_EDITOR && UNITY_ANDROID
int enumindex = (int)Pvr_UnitySDKAPI.GlobalIntConfigs.LOG_LEVEL;
Pvr_UnitySDKAPI.Render.UPvr_GetIntConfig(enumindex, ref logLevel);
#endif
}

public static void D(string msg)
{
    if (logLevel > 2)
        Debug.Log(msg);
}

public static void I(string msg)
{
    if (logLevel > 1)
        Debug.Log(msg);
}

public static void W(string msg)
{
    if (logLevel > 0)
        Debug.LogWarning(msg);
}

public static void E(string msg)
{
    Debug.LogError(msg);
}

}
###

img


把这个代码粘出来看看