File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Assets/Scripts/Framework/Procedure Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,8 @@ public static async void StartHotfix()
4343 var assetHotfixDllPath = Utility . Asset . Path . GetCodePath ( HotfixName + Utility . Const . FileNameSuffix . DLL ) ;
4444 var assetHotfixDllOperationHandle = await GameApp . Asset . LoadAssetAsync < UnityEngine . Object > ( assetHotfixDllPath ) ;
4545 var assemblyDataHotfixDll = assetHotfixDllOperationHandle . GetAssetObject < UnityEngine . TextAsset > ( ) . bytes ;
46- Log . Info ( "开始加载Unity.Hotfix.pdb" ) ;
47- var assetHotfixPdbPath = Utility . Asset . Path . GetCodePath ( HotfixName + Utility . Const . FileNameSuffix . PDB ) ;
48- var assetHotfixPdbOperationHandle = await GameApp . Asset . LoadAssetAsync < UnityEngine . Object > ( assetHotfixPdbPath ) ;
49- var assemblyDataHotfixPdb = assetHotfixPdbOperationHandle . GetAssetObject < UnityEngine . TextAsset > ( ) . bytes ;
5046 Log . Info ( "开始加载程序集Hotfix" ) ;
51- var hotfixAssembly = Assembly . Load ( assemblyDataHotfixDll , assemblyDataHotfixPdb ) ;
47+ var hotfixAssembly = Assembly . Load ( assemblyDataHotfixDll , null ) ;
5248 Run ( hotfixAssembly ) ;
5349 }
5450
You can’t perform that action at this time.
0 commit comments