You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception: E:/LsxGithub/skygame-U3D/Assets/StreamingAssets/JavaScript/GameLanch.js:3: TypeError: _csharp.UnityEngine.Vector2.op_Implicit is not a function
TypeError: _csharp.UnityEngine.Vector2.op_Implicit is not a function
at E:/LsxGithub/skygame-U3D/Assets/StreamingAssets/JavaScript/GameLanch.js:3:37
at executeModule (puerts/modular.mjs:41:5)
at require (puerts/modular.mjs:90:13)
at chunk:1:1
Puerts.JsEnv.Eval (System.String chunk, System.String chunkName) (at Assets/Puerts/Runtime/Src/JsEnv.cs:278)
PuertsMgr.Begin () (at Assets/Scripts/Engine/Puerts/PuertsMgr.cs:30)
GameLanch.Start () (at Assets/Scripts/GameLanch.cs:33)
#testcode
import { UnityEngine } from "csharp";
let a = UnityEngine.Vector2.op_Implicit(new UnityEngine.Vector3(0,0,0))
The text was updated successfully, but these errors were encountered:
问题描述: 旧版本运行正常,升级Unity后报错。
Unity版本 2021.3.0f1c1
#log
#testcode
The text was updated successfully, but these errors were encountered: