ALEXTANGXIAO / TEngine

Unity框架解决方案-支持HybridCLR(最好的次时代热更)与YooAssets(优秀商业级资源框架)。
MIT License
1.19k stars 258 forks source link

运行UIDemo时候报错 #38

Closed easyboy3 closed 1 year ago

easyboy3 commented 1 year ago

”DirectoryNotFoundException: Could not find a part of the path "C:\UnityTest\TEngine-main\Assets\StreamingAssets\TEngine\AssetBundles\AssetBundleMeta.bin". 没有文件夹“StreamingAssets" 猜想是否要手动HybirdCLR 打包一次,(需要本地build一次apk,build的时候报错:“Exception: Unity.IL2CPP.Building.BuilderFailedException: Lump_libil2cpp_vm.cpp C:\UnityTest\TEngine-main\HybridCLRData\LocalIl2CppData-WindowsEditor\il2cpp\libil2cpp\utils/Il2CppHashMap.h(71): error C2039: "hash_compare": ���� "stdext" �ij�Ա ”)参考HybirdCLR常见错误,没有找到sparseconfig.h文件添加定义#define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS 然后就进行不下去了

ALEXTANGXIAO commented 1 year ago

这应该是两个问题,第一个需要打包切换到编辑器模式就不会走AssetBundleMeta.bin。用最新版本的没有问题,资源模块已经换成了YooAssets,HybridCLR全平台也跑通了