mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update ProcedureCodeInit.cs
This commit is contained in:
@@ -32,7 +32,7 @@ namespace TEngine.Runtime
|
|||||||
// 热更新dll不缺元数据,不需要补充,如果调用LoadMetadataForAOTAssembly会返回错误
|
// 热更新dll不缺元数据,不需要补充,如果调用LoadMetadataForAOTAssembly会返回错误
|
||||||
foreach (var aotDllName in AOTMetaAssemblyNames)
|
foreach (var aotDllName in AOTMetaAssemblyNames)
|
||||||
{
|
{
|
||||||
byte[] dllBytes = TResources.Load<TextAsset>(aotDllName).bytes;
|
byte[] dllBytes = TResources.Load<TextAsset>(aotDllName)?.bytes;
|
||||||
if (dllBytes == null)
|
if (dllBytes == null)
|
||||||
{
|
{
|
||||||
Log.Fatal($"{aotDllName} is null");
|
Log.Fatal($"{aotDllName} is null");
|
||||||
|
Reference in New Issue
Block a user