tuyoogame / YooAsset

unity3d resources management system
https://www.yooasset.com/
Apache License 2.0
2.38k stars 467 forks source link

打包时有概率会出现报错 Assertion failed on expression: 'm_InstanceIDToAssetBundleIndex.count(id) > 0' #147

Open k1104480005 opened 1 year ago

k1104480005 commented 1 year ago

image

gmhevinci commented 1 year ago

目测是unity引擎底层引发的断言。有什么规律吗?

gmhevinci commented 1 year ago

另外你的unity版本是多少?

k1104480005 commented 1 year ago

@gmhevinci 使用的是 2022.3.0版本,暂时没找到出现的规律。打包途中报错之后AB包还是会正常输出的,暂时也没发现打出的AB包有问题

gmhevinci commented 1 year ago

大概率是unity底层问题,你可以升级到2022.3.x 最新版本

q425163005 commented 8 months ago

我的版本2022.3.15f1c1也有这个问题

gmhevinci commented 8 months ago

我的版本2022.3.15f1c1也有这个问题

使用的是SBP构建管线吗?

q425163005 commented 8 months ago

------------------ 原始邮件 ------------------ 发件人: "tuyoogame/YooAsset" @.>; 发送时间: 2024年1月12日(星期五) 中午11:08 @.>; @.**@.>; 主题: Re: [tuyoogame/YooAsset] 打包时有概率会出现报错 Assertion failed on expression: 'm_InstanceIDToAssetBundleIndex.count(id) > 0' (Issue #147)

我的版本2022.3.15f1c1也有这个问题

使用的是SBP构建管线吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

ghostking8 commented 8 months ago

QQ截图20240114113803

我用YooAsset 1.5.7,Unity 2022.3.14fc1,每次打包都报这个问题。没有使用SRP。虽然报错,但依然能够正常打包输出,打出来的包也可以正常使用,但每次打包看到这个报错就不舒服。

gmhevinci commented 8 months ago

QQ截图20240114113803

我用YooAsset 1.5.7,Unity 2022.3.14fc1,每次打包都报这个问题。没有使用SRP。虽然报错,但依然能够正常打包输出,打出来的包也可以正常使用,但每次打包看到这个报错就不舒服。

建议升级一下编辑器版本,2022的LTS版本刚刚发布还不是非常稳定。