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
InvalidOperationException: This method cannot be used on a streamed scene AssetBundle.
UnityEngine.AssetBundle.LoadAssetAsync (System.String name, System.Type type) (at C:/buildslave/unity/build/artifacts/generated/common/runtime/AssetBundleBindings.gen.cs:238)
LuaFramework.ResourceManager+<OnLoadAsset>c__Iterator0`1[UnityEngine.GameObject].MoveNext () (at Assets/LuaFramework/Scripts/Manager/ResourceManager.cs:157)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
错误信息:
Packager里面添加打包场景语句如下:
AddBuildMap("scenes" + AppConst.ExtName, "*.unity", "Assets/Tanks/Scenes");
场景只有一个 TanksExample
Main.lua里面加载场景代码:
The text was updated successfully, but these errors were encountered: