0 votes
by (590 points)

enter image description here

报错内容分别是:
D:\UnitySuCai\Pico SDK\2021PicoXRPlatformSDK-1.2.3B55\Runtime\Scripts\Controller\PXRControllerLoader.cs(9,7): error CS0246: The type or namespace name 'LitJson' could not be found (are you missing a using directive or an assembly reference?)

D:\UnitySuCai\Pico SDK\2021PicoXRPlatformSDK-1.2.3_B55\Runtime\Scripts\Payment\Callback.cs(17,7): error CS0246: The type or namespace name 'LitJson' could not be found (are you missing a using directive or an assembly reference?)

D:\UnitySuCai\Pico SDK\2021PicoXRPlatformSDK-1.2.3_B55\Runtime\Scripts\Payment\CommonDic.cs(7,7): error CS0246: The type or namespace name 'LitJson' could not be found (are you missing a using directive or an assembly reference?)

D:\UnitySuCai\Pico SDK\2021PicoXRPlatformSDK-1.2.3B55\Runtime\Scripts\Controller\PXRControllerLoader.cs(34,17): error CS0246: The type or namespace name 'JsonData' could not be found (are you missing a using directive or an assembly reference?)

Error building Player because scripts had compiler errors

1 Answer

0 votes
by (1.1k points)

我之前也碰到过这个错,你去掉pico sdk再重新导一遍试试,我上次重新导入就好了

by (590 points)

谢谢

by (590 points)

好像行不通,我把PicoSDK Remove掉重新ADD还是如此

by (1.1k points)

你有这个LitJson.dll么?它在不在SDK的runtime-android目录下

enter image description here

by (590 points)

又这个文件的,需要重新下载最新版本么

...