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()
43
43
var assetHotfixDllPath = Utility . Asset . Path . GetCodePath ( HotfixName + Utility . Const . FileNameSuffix . DLL ) ;
44
44
var assetHotfixDllOperationHandle = await GameApp . Asset . LoadAssetAsync < UnityEngine . Object > ( assetHotfixDllPath ) ;
45
45
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 ;
50
46
Log . Info ( "开始加载程序集Hotfix" ) ;
51
- var hotfixAssembly = Assembly . Load ( assemblyDataHotfixDll , assemblyDataHotfixPdb ) ;
47
+ var hotfixAssembly = Assembly . Load ( assemblyDataHotfixDll , null ) ;
52
48
Run ( hotfixAssembly ) ;
53
49
}
54
50
You can’t perform that action at this time.
0 commit comments