From 1ecb8b2b4201843d892c7155ed564182bc292b60 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 24 Apr 2024 02:34:10 +0000 Subject: [PATCH] deploy: af014b55c73242f307789dda70a085da2886d4d9 --- 404.html | 4 ++-- assets/js/{5dd67a5f.5d9513d0.js => 5dd67a5f.8afa4714.js} | 2 +- .../{runtime~main.813d3f29.js => runtime~main.3f6f929c.js} | 2 +- blog.html | 4 ++-- blog/archive.html | 4 ++-- blog/catelog.html | 4 ++-- blog/instructions.html | 4 ++-- blog/mindexperiment.html | 4 ++-- blog/principle.html | 4 ++-- docs/basic.html | 4 ++-- docs/basic/aotgeneric.html | 4 ++-- docs/basic/architecture.html | 4 ++-- docs/basic/bestpractice.html | 4 ++-- docs/basic/buildpipeline.html | 4 ++-- docs/basic/buildwebgl.html | 4 ++-- docs/basic/codestriping.html | 4 ++-- docs/basic/com.code-philosophy.hybridclr.html | 4 ++-- docs/basic/compileassembly.html | 4 ++-- docs/basic/dots.html | 4 ++-- docs/basic/hotupdateassemblysetting.html | 4 ++-- docs/basic/il2cppbugs.html | 4 ++-- docs/basic/install.html | 4 ++-- docs/basic/memory.html | 4 ++-- docs/basic/methodbridge.html | 4 ++-- docs/basic/migratefromnetstandard.html | 4 ++-- docs/basic/monobehaviour.html | 4 ++-- docs/basic/notsupportedfeatures.html | 4 ++-- docs/basic/performance.html | 4 ++-- docs/basic/projectsettings.html | 4 ++-- docs/basic/runhotupdatecodes.html | 4 ++-- docs/basic/sourceinspect.html | 4 ++-- docs/basic/supportedplatformanduniyversion.html | 4 ++-- docs/basic/workwithscriptlanguage.html | 4 ++-- docs/beginner.html | 4 ++-- docs/beginner/generic.html | 4 ++-- docs/beginner/monobehaviour.html | 4 ++-- docs/beginner/otherhelp.html | 4 ++-- docs/beginner/quickstart.html | 4 ++-- docs/business.html | 4 ++-- docs/business/accesspolicy.html | 4 ++-- docs/business/advancedencryption.html | 4 ++-- docs/business/advancedoptimization.html | 4 ++-- docs/business/basicencryption.html | 4 ++-- docs/business/basicoptimization.html | 4 ++-- docs/business/businesscase.html | 4 ++-- docs/business/differentialhybridexecution.html | 4 ++-- docs/business/dots.html | 4 ++-- docs/business/fullgenericsharing.html | 4 ++-- docs/business/intro.html | 4 ++-- docs/business/metadataoptimization.html | 4 ++-- docs/business/pro/commonerrors.html | 4 ++-- docs/business/pro/freetrial.html | 4 ++-- docs/business/pro/intro.html | 4 ++-- docs/business/pro/quickstart.html | 4 ++-- docs/business/reload/commonerrors.html | 4 ++-- docs/business/reload/freetrial.html | 4 ++-- docs/business/reload/hotreloadassembly.html | 4 ++-- docs/business/reload/intro.html | 4 ++-- docs/business/reload/modifydll.html | 4 ++-- docs/business/reload/quickstart.html | 4 ++-- docs/business/ultimate/commonerrors.html | 4 ++-- docs/business/ultimate/freetrial.html | 4 ++-- docs/business/ultimate/injectrules.html | 4 ++-- docs/business/ultimate/intro.html | 4 ++-- docs/business/ultimate/manual.html | 4 ++-- docs/business/ultimate/quickstartchecked.html | 4 ++-- docs/business/ultimate/quickstartunchecked.html | 4 ++-- docs/help.html | 4 ++-- docs/help/commonerrors.html | 6 +++--- docs/help/faq.html | 4 ++-- docs/help/issue.html | 4 ++-- docs/intro.html | 4 ++-- docs/other.html | 4 ++-- docs/other/businesscase.html | 4 ++-- docs/other/changelog.html | 4 ++-- docs/other/contactme.html | 4 ++-- docs/other/donate.html | 4 ++-- docs/other/relativepojects.html | 4 ++-- docs/other/roadmap.html | 4 ++-- docs/pro.html | 4 ++-- docs/reload.html | 4 ++-- docs/ultimate.html | 4 ++-- index.html | 4 ++-- search.html | 4 ++-- 84 files changed, 167 insertions(+), 167 deletions(-) rename assets/js/{5dd67a5f.5d9513d0.js => 5dd67a5f.8afa4714.js} (93%) rename assets/js/{runtime~main.813d3f29.js => runtime~main.3f6f929c.js} (77%) diff --git a/404.html b/404.html index 4ad9bea5..f5b71916 100644 --- a/404.html +++ b/404.html @@ -9,13 +9,13 @@ - +
跳到主要内容

找不到页面

我们找不到您要找的页面。

请联系原始链接来源网站的所有者,并告知他们链接已损坏。

- + \ No newline at end of file diff --git a/assets/js/5dd67a5f.5d9513d0.js b/assets/js/5dd67a5f.8afa4714.js similarity index 93% rename from assets/js/5dd67a5f.5d9513d0.js rename to assets/js/5dd67a5f.8afa4714.js index b412aa47..688bf74e 100644 --- a/assets/js/5dd67a5f.5d9513d0.js +++ b/assets/js/5dd67a5f.8afa4714.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[5649],{3905:(e,t,i)=>{i.d(t,{Zo:()=>s,kt:()=>y});var l=i(7294);function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,l)}return i}function o(e){for(var t=1;t=0||(n[i]=e[i]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}var d=l.createContext({}),p=function(e){var t=l.useContext(d),i=t;return e&&(i="function"==typeof e?e(t):o(o({},t),e)),i},s=function(e){var t=p(e.components);return l.createElement(d.Provider,{value:t},e.children)},c="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},m=l.forwardRef((function(e,t){var i=e.components,n=e.mdxType,a=e.originalType,d=e.parentName,s=r(e,["components","mdxType","originalType","parentName"]),c=p(i),m=n,y=c["".concat(d,".").concat(m)]||c[m]||u[m]||a;return i?l.createElement(y,o(o({ref:t},s),{},{components:i})):l.createElement(y,o({ref:t},s))}));function y(e,t){var i=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=i.length,o=new Array(a);o[0]=m;var r={};for(var d in t)hasOwnProperty.call(t,d)&&(r[d]=t[d]);r.originalType=e,r[c]="string"==typeof e?e:n,o[1]=r;for(var p=2;p{i.r(t),i.d(t,{assets:()=>d,contentTitle:()=>o,default:()=>u,frontMatter:()=>a,metadata:()=>r,toc:()=>p});var l=i(7462),n=(i(7294),i(3905));const a={},o="\u5e38\u89c1\u9519\u8bef",r={unversionedId:"help/commonerrors",id:"help/commonerrors",title:"\u5e38\u89c1\u9519\u8bef",description:"\u76ee\u524d\u63d0\u4ea4\u7684\u7248\u672c\u90fd\u7ecf\u8fc7\u6d4b\u8bd5\uff0c\u57fa\u672c\u4e0d\u53ef\u80fd\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\u53ca\u5d29\u6e83\u6216\u8005\u57fa\u7840\u7684\u8fd0\u884c\u9519\u8bef\u3002\u5982\u679c\u67e5\u770b\u4e86\u5e38\u89c1\u9519\u8bef\uff0c\u8fd8\u672a\u80fd\u89e3\u51b3\u95ee\u9898\uff0c\u8bf7\u5c06com.code-philosophy.hybridclr\u3001hybridclr\u3001il2cpp_plus\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\uff0c\u518d\u8bd5\u4e00\u6b21\u3002",source:"@site/docs/help/commonerrors.md",sourceDirName:"help",slug:"/help/commonerrors",permalink:"/docs/help/commonerrors",draft:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"FAQ",permalink:"/docs/help/faq"},next:{title:"BUG\u53cd\u9988\u6a21\u677f",permalink:"/docs/help/issue"}},d={},p=[{value:"Unity Editor\u4e0b\u7684\u9519\u8bef",id:"unity-editor\u4e0b\u7684\u9519\u8bef",level:2},{value:"Package Manager\u4e2d\u5b89\u88c5 com.code-philosophy.hybridclr\u65f6\u51fa\u73b0 package\u540d\u4e0ecom.focus-creative-games.hybridclr_unity\u4e0d\u5339\u914d\u7684\u9519\u8bef",id:"package-manager\u4e2d\u5b89\u88c5-comcode-philosophyhybridclr\u65f6\u51fa\u73b0-package\u540d\u4e0ecomfocus-creative-gameshybridclr_unity\u4e0d\u5339\u914d\u7684\u9519\u8bef",level:3},{value:"\u70b9\u51fb HybridCLR/Setting\uff0c\u672a\u80fd\u627e\u5230HybridCLR\u8bbe\u7f6e\u754c\u9762",id:"\u70b9\u51fb-hybridclrsetting\u672a\u80fd\u627e\u5230hybridclr\u8bbe\u7f6e\u754c\u9762",level:3},{value:"Installer\u4e2d\u5b89\u88c5\u65f6\u51fa\u73b0 Win32Exception:ApplicationName='git', xxxx, Native erro=\u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002 \u9519\u8bef",id:"installer\u4e2d\u5b89\u88c5\u65f6\u51fa\u73b0-win32exceptionapplicationnamegit-xxxx-native-erro\u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6-\u9519\u8bef",level:3},{value:"Installer\u70b9\u51fb\u5b89\u88c5\u51fa\u73b0\uff1agit\u4e0d\u662f\u5185\u90e8\u6216\u5916\u90e8\u547d\u4ee4\uff0c\u4e5f\u4e0d\u662f\u53ef\u8fd0\u884c\u7684\u7a0b\u5e8f",id:"installer\u70b9\u51fb\u5b89\u88c5\u51fa\u73b0git\u4e0d\u662f\u5185\u90e8\u6216\u5916\u90e8\u547d\u4ee4\u4e5f\u4e0d\u662f\u53ef\u8fd0\u884c\u7684\u7a0b\u5e8f",level:3},{value:"\u4f7f\u7528Installer\u5b89\u88c5\u65f6\u53d1\u751f DirectoryNotFoundException: Counld not find a part of the path 'xxx'",id:"\u4f7f\u7528installer\u5b89\u88c5\u65f6\u53d1\u751f-directorynotfoundexception-counld-not-find-a-part-of-the-path-xxx",level:3},{value:"\u4f7f\u7528Installer\u5b89\u88c5\u65f6\u63d0\u793aMono.CompilerServices.SymbolWriter.dll path is too long. copy ignore!",id:"\u4f7f\u7528installer\u5b89\u88c5\u65f6\u63d0\u793amonocompilerservicessymbolwriterdll-path-is-too-long-copy-ignore",level:3},{value:"Exception. region:UNITY_CONFIG start not find",id:"exception-regionunity_config-start-not-find",level:3},{value:"Exception. region:PLACE_HOLDER start not find",id:"exception-regionplace_holder-start-not-find",level:3},{value:"Exception. region:XXXXXX start not find",id:"exception-regionxxxxxx-start-not-find",level:3},{value:"\u8fd0\u884c HybridCLR/generate/xxx \u65f6\u53d1\u751f Exception: resolve assembly: yyyAssembly fail",id:"\u8fd0\u884c-hybridclrgeneratexxx-\u65f6\u53d1\u751f-exception-resolve-assembly-yyyassembly-fail",level:3},{value:"\u8fd0\u884c HybridCLR/generate/xxx \u65f6\u53d1\u751f NullReferenceException. HybridCLR.Editor.ABI.TypeCreatorBase.CreateTypeInfo ...",id:"\u8fd0\u884c-hybridclrgeneratexxx-\u65f6\u53d1\u751f-nullreferenceexception-hybridclreditorabitypecreatorbasecreatetypeinfo-",level:3},{value:"\u6253\u5305iOS\u7248\u672c\u65f6\u672a\u751f\u6210 AssembliesPostIl2CppStrip \u76ee\u5f55",id:"\u6253\u5305ios\u7248\u672c\u65f6\u672a\u751f\u6210-assembliespostil2cppstrip-\u76ee\u5f55",level:3},{value:"BuildFailedExceptoin: Build path contains a project prevously built without the "Create Visual Studio Solution"",id:"buildfailedexceptoin-build-path-contains-a-project-prevously-built-without-the-create-visual-studio-solution",level:3},{value:"\u6253\u5305\u65f6\u53d1\u751f\u9519\u8bef",id:"\u6253\u5305\u65f6\u53d1\u751f\u9519\u8bef",level:2},{value:"Currently selected scripting backend (IL2CPP) is not installed",id:"currently-selected-scripting-backend-il2cpp-is-not-installed",level:3},{value:"`Exception: C++ code bulider is unable to build C+ code. Inorder to build C++ code for Windows Destop, You must have one of these installed. xxxxx",id:"exception-c-code-bulider-is-unable-to-build-c-code-inorder-to-build-c-code-for-windows-destop-you-must-have-one-of-these-installed-xxxxx",level:3},{value:"\u9047\u5230 Undefined symbols for architecture arm64: "_objc_msgSend$initWithName:", referenced from: il2cpp::os::TimeZoneInfo::GetTimeZoneDataForID",id:"\u9047\u5230-undefined-symbols-for-architecture-arm64--_objc_msgsendinitwithname-referenced-from------il2cppostimezoneinfogettimezonedataforid",level:3},{value:"\u6253\u5305\u51fa\u73b0 Undefined symbols\uff1a RuntimeApi_LoadMetadataForAOTAssembly \u6216 hybridclrApi_LoadMetadataForAOTAssembly",id:"\u6253\u5305\u51fa\u73b0-undefined-symbols-runtimeapi_loadmetadataforaotassembly-\u6216-hybridclrapi_loadmetadataforaotassembly",level:3},{value:"Building Library/Bee/artifacts/xxxx failed with output: Fatalerror in Unitiy CIL Linker Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly:'xxx'",id:"building-librarybeeartifactsxxxx-failed-with-output-fatalerror-in-unitiy-cil-linker-monocecilassemblyresolutionexception-failed-to-resolve-assemblyxxx",level:3},{value:"WebGL\u5e73\u53f0\u6253\u5305\u65f6\u9047\u5230 undefine symbol: send file \u4e4b\u7c7b\u7684\u9519\u8bef",id:"webgl\u5e73\u53f0\u6253\u5305\u65f6\u9047\u5230-undefine-symbol-send-file-\u4e4b\u7c7b\u7684\u9519\u8bef",level:3},{value:"Win \u4e0b \u6253\u5305\u65f6\u9047\u5230 xxxx\\il2cpp\\libil2cpp\\utils\\Il2CppHashMap.h(71): error C2039: 'hash_compare': is not a member of 'stdext'",id:"win-\u4e0b-\u6253\u5305\u65f6\u9047\u5230-xxxxil2cpplibil2cpputilsil2cpphashmaph71-error-c2039-hash_compare-is-not-a-member-of-stdext",level:3},{value:"fatal error: 'icalls/mscorlib/System/MonoType.h' file not found #include "icalls/mscorlib/System/MonoType.h"",id:"fatal-error-icallsmscorlibsystemmonotypeh-file-not-found-include-icallsmscorlibsystemmonotypeh",level:3},{value:"Internal build system error. BuildProgram exited with code -2147024894.",id:"internal-build-system-error-buildprogram-exited-with-code--2147024894",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0 DirectoryNotFoundException: xxxxLibraryBeeartifactsyyyyManagedStripted \u9519\u8bef",id:"\u6253\u5305\u65f6\u51fa\u73b0-directorynotfoundexception-xxxxlibrarybeeartifactsyyyymanagedstripted-\u9519\u8bef",level:3},{value:"\u6253\u5305WebGL\u5e73\u53f0\u65f6\u51fa\u73b0 DirectoryNotFoundException: xxxHybridCLRDataLocalIl2CppData-{yyy}il2cppil2cpp-deps \u9519\u8bef",id:"\u6253\u5305webgl\u5e73\u53f0\u65f6\u51fa\u73b0-directorynotfoundexception-xxxhybridclrdatalocalil2cppdata-yyyil2cppil2cpp-deps--\u9519\u8bef",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0 GC_set_mark_stck_empty \u51fd\u6570\u627e\u4e0d\u5230\u6216\u8005\u7b7e\u540d\u4e0d\u5339\u914d\u7684\u9519\u8bef",id:"\u6253\u5305\u65f6\u51fa\u73b0-gc_set_mark_stck_empty-\u51fd\u6570\u627e\u4e0d\u5230\u6216\u8005\u7b7e\u540d\u4e0d\u5339\u914d\u7684\u9519\u8bef",level:3},{value:"\u6253\u5305WebGL\u5e73\u53f0\u51fa\u73b0 build.js: undefined symbol: RuntimeApi_LoadMetadataForAOTAssembly (referenced by top-level compiled C/C++ code)",id:"\u6253\u5305webgl\u5e73\u53f0\u51fa\u73b0-buildjs-undefined-symbol-runtimeapi_loadmetadataforaotassembly-referenced-by-top-level-compiled-cc-code",level:3},{value:"\u6253\u5305WebGL\u5e73\u53f0\u70b9\u51fbGenerate/All\u53d1\u751f\u9519\u8bef",id:"\u6253\u5305webgl\u5e73\u53f0\u70b9\u51fbgenerateall\u53d1\u751f\u9519\u8bef",level:3},{value:"\u6253\u5305\u51fa\u73b0 #error: "not support unity version"",id:"\u6253\u5305\u51fa\u73b0-error-not-support-unity-version",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0 'could not find a part of path "xxxx/hybridclr/generated/UnityVersion.h"",id:"\u6253\u5305\u65f6\u51fa\u73b0-could-not-find-a-part-of-path-xxxxhybridclrgeneratedunityversionh",level:3},{value:"\u6253\u5305\u91cc\u53d1\u73b0 "Undefined symbols for architecture arm64: "il2cpp::utils::Debugger::xxxxx"",id:"\u6253\u5305\u91cc\u53d1\u73b0-undefined-symbols-for-architecture-arm64-il2cpputilsdebuggerxxxxx",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0 error: undefined reference to 'SystemNative-ConvertErrorPalToPlatform'",id:"\u6253\u5305\u65f6\u51fa\u73b0-error-undefined-reference-to-systemnative-converterrorpaltoplatform",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0 BuildFailedException: You must run HybridCLR/Installer after upgrading package",id:"\u6253\u5305\u65f6\u51fa\u73b0-buildfailedexception-you-must-run-hybridclrinstaller-after-upgrading-package",level:3},{value:"\u51fa\u73b0 IL2CPP_POP_ACTIVE_EXCEPTION \u76f8\u5173\u7f16\u8bd1\u9519\u8bef",id:"\u51fa\u73b0-il2cpp_pop_active_exception-\u76f8\u5173\u7f16\u8bd1\u9519\u8bef",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\uff0c\u901a\u7528\u5904\u7406\u529e\u6cd5",id:"\u6253\u5305\u65f6\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\u901a\u7528\u5904\u7406\u529e\u6cd5",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0Building.BuilderFailedException:In file included from xxxHybridCLRDataLocalIl2CppData-{platform}il2cpp",id:"\u6253\u5305\u65f6\u51fa\u73b0buildingbuilderfailedexceptionin-file-included-from-xxxhybridclrdatalocalil2cppdata-platformil2cpp",level:3},{value:"\u8fd0\u884c\u65f6\u9519\u8bef",id:"\u8fd0\u884c\u65f6\u9519\u8bef",level:2},{value:"EntryPointNotFoundException. Unable to find entry point named 'RuntimeApi_LoadMetadataForAOTAssembly' in 'GameAssembly`",id:"entrypointnotfoundexception-unable-to-find-entry-point-named-runtimeapi_loadmetadataforaotassembly-in-gameassembly",level:3},{value:"A scripted object (probably XXX?) has a different serialization layout when loading. Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?",id:"a-scripted-object-probably-xxx-has-a-different-serialization-layout-when-loading-did-you-ifdef-unity_editor-a-section-of-your-serialized-properties-in-any-of-your-scripts",level:3},{value:"\u6302\u8f7d\u5728\u8d44\u6e90\u4e0a\u7684\u811a\u672c\u51fa\u73b0 Script Missing \u9519\u8bef",id:"\u6302\u8f7d\u5728\u8d44\u6e90\u4e0a\u7684\u811a\u672c\u51fa\u73b0-script-missing-\u9519\u8bef",level:3},{value:"\u9047\u5230 "This icall is not supported by il2cpp at System.AppDomain.Load"",id:"\u9047\u5230--this-icall-is-not-supported-by-il2cpp-at-systemappdomainload",level:3},{value:"\u70ed\u66f4\u65b0\u4e2d\u7269\u7406\u78b0\u649e Collision\u672a\u751f\u6548",id:"\u70ed\u66f4\u65b0\u4e2d\u7269\u7406\u78b0\u649e-collision\u672a\u751f\u6548",level:3},{value:"unsupported internal call for il2cpp. xxxx",id:"unsupported-internal-call-for-il2cpp-xxxx",level:3},{value:"async \u4ee3\u7801\uff08\u7cfb\u7edf\u81ea\u5e26\u6216\u8005UniTask\u4e4b\u7c7b\uff09\u6253\u5305\u540e\u8fd0\u884c\u65f6\u629b\u51faNullReferenceException\u6216\u8005\u5d29\u6e83",id:"async-\u4ee3\u7801\u7cfb\u7edf\u81ea\u5e26\u6216\u8005unitask\u4e4b\u7c7b\u6253\u5305\u540e\u8fd0\u884c\u65f6\u629b\u51fanullreferenceexception\u6216\u8005\u5d29\u6e83",level:3},{value:"\u9047\u5230 Unity: TypeLoadException: Could not load type 'XxxType' from assembly 'yyyAssembly'",id:"\u9047\u5230-unity-typeloadexception-could-not-load-type-xxxtype-from-assembly-yyyassembly",level:3},{value:"\u60c5\u51b51\uff1ayyyAssembly \u662f netstandard",id:"\u60c5\u51b51yyyassembly-\u662f-netstandard",level:4},{value:"\u60c5\u51b52\uff1ayyyAssembly\u662f \u5176\u4ed6AOT assembly",id:"\u60c5\u51b52yyyassembly\u662f-\u5176\u4ed6aot-assembly",level:4},{value:"\u60c5\u51b53\uff1ayyyAssembly\u662f\u70ed\u66f4\u65b0assembly",id:"\u60c5\u51b53yyyassembly\u662f\u70ed\u66f4\u65b0assembly",level:4},{value:"MissingMethodException: HybridCLR.RuntimeApi::LoadMetadataForAOTAssembly(System.Byte[],HybridCLR.HomologousImageMode) \u9519\u8bef",id:"missingmethodexception-hybridclrruntimeapiloadmetadataforaotassemblysystembytehybridclrhomologousimagemode-\u9519\u8bef",level:3},{value:"MissingMethodException: MethodNotFind xxClass::yyyMethod \u9519\u8bef",id:"missingmethodexception-methodnotfind-xxclassyyymethod-\u9519\u8bef",level:3},{value:"MissingMethodException: AOT generic method isn't instantiated in aot module xxx",id:"missingmethodexception-aot-generic-method-isnt-instantiated-in-aot-module-xxx",level:3},{value:"\u9047\u5230 ExecutionEngineException: metadata type not match",id:"\u9047\u5230-executionengineexception-metadata-type-not-match",level:3},{value:"\u9047\u5230ExecutionEngineException: not support extern method: xxxx",id:"\u9047\u5230executionengineexception-not-support-extern-method-xxxx",level:3},{value:"\u9047\u5230ExecutionEngineException:method body is null. xxx::yyyy",id:"\u9047\u5230executionengineexceptionmethod-body-is-null-xxxyyyy",level:3},{value:"\u9047\u5230 ExecutionEngineException: GetManaged2NativeMethodPointer not support. xxxx \u51fd\u6570\u540d",id:"\u9047\u5230-executionengineexception-getmanaged2nativemethodpointer-not-support-xxxx-\u51fd\u6570\u540d",level:3},{value:"\u9047\u5230'ExecutionEngineException: NotSupportNative2Managed'",id:"\u9047\u5230executionengineexception-notsupportnative2managed",level:3},{value:"ExecutionEngineException: Attempting to call method 'xxxx' for which no ahead of time (AOT) code was generated.",id:"executionengineexception-attempting-to-call-method-xxxx-for-which-no-ahead-of-time-aot-code-was-generated",level:3},{value:"GetReversePInvokeWrapper fail. exceed max wrapper num of method",id:"getreversepinvokewrapper-fail-exceed-max-wrapper-num-of-method",level:3},{value:"NotSupportedException: To marshal a managed method, please add an attribute named 'MonoPInvokeCallback' to the method definition. The method we're attempting to marshal is:xxxx",id:"notsupportedexception-to-marshal-a-managed-method-please-add-an-attribute-named-monopinvokecallback-to-the-method-definition-the-method-were-attempting-to-marshal-isxxxx",level:3},{value:"\u4f7f\u7528addressable\u8fdb\u884c\u70ed\u66f4\u65b0\u65f6\uff0c\u52a0\u8f7d\u8d44\u6e90\u51fa\u73b0 UnityEngine.AddressableAssets.InvlidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown. No Asset found with for key 'xxxx' \u5f02\u5e38",id:"\u4f7f\u7528addressable\u8fdb\u884c\u70ed\u66f4\u65b0\u65f6\u52a0\u8f7d\u8d44\u6e90\u51fa\u73b0-unityengineaddressableassetsinvlidkeyexception-exception-of-type-unityengineaddressableassetsinvalidkeyexception-was-thrown-no-asset-found-with-for-key-xxxx-\u5f02\u5e38",level:3},{value:"GameObject.GetComponent(string name) \u63a5\u53e3\u65e0\u6cd5\u83b7\u5f97\u7ec4\u4ef6",id:"gameobjectgetcomponentstring-name-\u63a5\u53e3\u65e0\u6cd5\u83b7\u5f97\u7ec4\u4ef6",level:3},{value:"GameObject.GetComponent<T>()\u6216\u8005GameObject.GetComponent(Type type)\u8fd4\u56denull",id:"gameobjectgetcomponentt\u6216\u8005gameobjectgetcomponenttype-type\u8fd4\u56denull",level:3},{value:"\u4f7f\u7528MemoryProfile\u6293\u53d6\u5185\u5b58\u5feb\u7167\u4f1a\u5d29\u6e83",id:"\u4f7f\u7528memoryprofile\u6293\u53d6\u5185\u5b58\u5feb\u7167\u4f1a\u5d29\u6e83",level:3},{value:"profiler\u7684 BeginSample\u548cEndSample \u65e0\u6cd5\u751f\u6548",id:"profiler\u7684-beginsample\u548cendsample-\u65e0\u6cd5\u751f\u6548",level:3},{value:"iOS\u4f7f\u7528\u76f8\u673a\u6ca1\u6709\u4efb\u4f55\u54cd\u5e94\uff0c\u4f46\u4e5f\u4e0d\u62a5\u9519",id:"ios\u4f7f\u7528\u76f8\u673a\u6ca1\u6709\u4efb\u4f55\u54cd\u5e94\u4f46\u4e5f\u4e0d\u62a5\u9519",level:3},{value:"AVProMovieCapture\u63d2\u4ef6\u5de5\u4f5c\u4e0d\u6b63\u5e38",id:"avpromoviecapture\u63d2\u4ef6\u5de5\u4f5c\u4e0d\u6b63\u5e38",level:3},{value:"EncodeImageAndMetadataIndex\u51fd\u6570\u51fa\u73b0IL2CPP_ASSERT\u65ad\u8a00\u5931\u8d25\u7684\u9519\u8bef",id:"encodeimageandmetadataindex\u51fd\u6570\u51fa\u73b0il2cpp_assert\u65ad\u8a00\u5931\u8d25\u7684\u9519\u8bef",level:3},{value:"\u542f\u52a8\u65f6\u6267\u884cAutomaticWorldBootstrap::Initialize\u8fc7\u7a0b\u4e2d\u8c03\u7528ResourceCatalogData::GetGUIDFromPath\u5d29\u6e83",id:"\u542f\u52a8\u65f6\u6267\u884cautomaticworldbootstrapinitialize\u8fc7\u7a0b\u4e2d\u8c03\u7528resourcecatalogdatagetguidfrompath\u5d29\u6e83",level:2},{value:"Job.ScheduleBatch \u5d29\u6e83",id:"jobschedulebatch-\u5d29\u6e83",level:2},{value:"WebGL \u8fd0\u884c\u65f6\u51fa\u73b0 function signature mismatch\u9519\u8bef",id:"webgl-\u8fd0\u884c\u65f6\u51fa\u73b0-function-signature-mismatch\u9519\u8bef",level:2},{value:"\u4f7f\u7528 Unity.netcode.runtime \u540e\u51fa\u73b0 NotSupportNative2Managed \u6865\u63a5\u51fd\u6570\u7f3a\u5931\u5f02\u5e38",id:"\u4f7f\u7528-unitynetcoderuntime-\u540e\u51fa\u73b0-notsupportnative2managed-\u6865\u63a5\u51fd\u6570\u7f3a\u5931\u5f02\u5e38",level:3}],s={toc:p},c="wrapper";function u(e){let{components:t,...a}=e;return(0,n.kt)(c,(0,l.Z)({},s,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"\u5e38\u89c1\u9519\u8bef"},"\u5e38\u89c1\u9519\u8bef"),(0,n.kt)("p",null,"\u76ee\u524d\u63d0\u4ea4\u7684\u7248\u672c\u90fd\u7ecf\u8fc7\u6d4b\u8bd5\uff0c\u57fa\u672c\u4e0d\u53ef\u80fd\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\u53ca\u5d29\u6e83\u6216\u8005\u57fa\u7840\u7684\u8fd0\u884c\u9519\u8bef\u3002\u5982\u679c\u67e5\u770b\u4e86\u5e38\u89c1\u9519\u8bef\uff0c\u8fd8\u672a\u80fd\u89e3\u51b3\u95ee\u9898\uff0c\u8bf7\u5c06com.code-philosophy.hybridclr\u3001hybridclr\u3001il2cpp_plus\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\uff0c\u518d\u8bd5\u4e00\u6b21\u3002\n\u5982\u679c\u4ecd\u7136\u6ca1\u6709\u89e3\u51b3\u95ee\u9898\uff0c\u53ef\u4ee5\u52a0\u5165\u4ee5\u4e0b\u7fa4\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u65b0\u624b1\u7fa4\uff1a428404198\uff08\u6ee1\uff09"),(0,n.kt)("li",{parentName:"ul"},"\u65b0\u624b2\u7fa4\uff1a",(0,n.kt)("strong",{parentName:"li"},"680274677\uff08\u63a8\u8350\uff09"))),(0,n.kt)("h2",{id:"unity-editor\u4e0b\u7684\u9519\u8bef"},"Unity Editor\u4e0b\u7684\u9519\u8bef"),(0,n.kt)("h3",{id:"package-manager\u4e2d\u5b89\u88c5-comcode-philosophyhybridclr\u65f6\u51fa\u73b0-package\u540d\u4e0ecomfocus-creative-gameshybridclr_unity\u4e0d\u5339\u914d\u7684\u9519\u8bef"},"Package Manager\u4e2d\u5b89\u88c5 com.code-philosophy.hybridclr\u65f6\u51fa\u73b0 package\u540d\u4e0ecom.focus-creative-games.hybridclr_unity\u4e0d\u5339\u914d\u7684\u9519\u8bef"),(0,n.kt)("p",null,"\u4ece3.0.0\u7248\u672c\u8d77\uff0ccom.focus-creative-games.hybridclr_unity\u6539\u540dcom.code-philosophy.hybridclr\uff0c\u56e0\u6b64\u76f4\u63a5\u5347\u7ea7\u5b89\u88c5\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u9519\u8bef\u3002"),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\uff1a\u5148\u79fb\u9664\u65e7\u7248\u672c\u7684com.focus-creative-games.hybridclr_unity\uff0c\u518d\u91cd\u65b0\u5b89\u88c5\u6700\u65b0\u7248\u672c\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u70b9\u51fb-hybridclrsetting\u672a\u80fd\u627e\u5230hybridclr\u8bbe\u7f6e\u754c\u9762"},"\u70b9\u51fb ",(0,n.kt)("inlineCode",{parentName:"h3"},"HybridCLR/Setting"),"\uff0c\u672a\u80fd\u627e\u5230HybridCLR\u8bbe\u7f6e\u754c\u9762"),(0,n.kt)("p",null,"\u5220\u9664 ",(0,n.kt)("inlineCode",{parentName:"p"},"ProjectSettings/HybridCLRSettings.asset"),"\u6587\u4ef6\u5373\u53ef\u3002\u5982\u679c\u4ecd\u672a\u663e\u793a\uff0c\u5219\u91cd\u542fUnity Editor\u3002"),(0,n.kt)("h3",{id:"installer\u4e2d\u5b89\u88c5\u65f6\u51fa\u73b0-win32exceptionapplicationnamegit-xxxx-native-erro\u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6-\u9519\u8bef"},"Installer\u4e2d\u5b89\u88c5\u65f6\u51fa\u73b0 ",(0,n.kt)("inlineCode",{parentName:"h3"},"Win32Exception:ApplicationName='git', xxxx, Native erro=\u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002")," \u9519\u8bef"),(0,n.kt)("p",null,"\u56e0\u4e3agit\u672a\u5b89\u88c5\uff08Windows \u4e0b\u5b89\u88c5 ",(0,n.kt)("a",{parentName:"p",href:"https://gitforwindows.org/"},"GitForWindows"),"\u3002\u5176\u4ed6\u5e73\u53f0\u8bf7\u81ea\u5df1\u914c\u60c5\u5b89\u88c5\uff09\uff0c\u6216\u8005\u5b89\u88c5git\u540e\u672a\u91cd\u542fUnityEditor\u548cUnityHub\u3002\u5982\u679c\u4f60\u786e\u4fe1\u5b89\u88c5\u4e86git\uff0ccmd\u4e2d\u4e5f\u786e\u5b9e\u80fd\u8fd0\u884cgit\uff0c\u5219\u5c1d\u8bd5\u91cd\u542f\u7535\u8111\u3002"),(0,n.kt)("h3",{id:"installer\u70b9\u51fb\u5b89\u88c5\u51fa\u73b0git\u4e0d\u662f\u5185\u90e8\u6216\u5916\u90e8\u547d\u4ee4\u4e5f\u4e0d\u662f\u53ef\u8fd0\u884c\u7684\u7a0b\u5e8f"},"Installer\u70b9\u51fb\u5b89\u88c5\u51fa\u73b0\uff1agit\u4e0d\u662f\u5185\u90e8\u6216\u5916\u90e8\u547d\u4ee4\uff0c\u4e5f\u4e0d\u662f\u53ef\u8fd0\u884c\u7684\u7a0b\u5e8f"),(0,n.kt)("p",null,"\u540c\u4e0a\u3002"),(0,n.kt)("h3",{id:"\u4f7f\u7528installer\u5b89\u88c5\u65f6\u53d1\u751f-directorynotfoundexception-counld-not-find-a-part-of-the-path-xxx"},"\u4f7f\u7528Installer\u5b89\u88c5\u65f6\u53d1\u751f DirectoryNotFoundException: Counld not find a part of the path 'xxx'"),(0,n.kt)("p",null,"\u6709\u51e0\u79cd\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u51fa\u9519\u76ee\u5f55\u4e0d\u5b58\u5728\uff0c\u5219\u56e0\u4e3a\u7f51\u7edc\u6216\u8005\u5404\u79cd\u539f\u56e0\uff0cgit clone hybridclr\u6216il2cpp_plus\u4ed3\u5e93\u5931\u8d25\u4e86\u3002 \u6b64\u65f6\u4f60\u53ef\u4ee5\u91cd\u8bd5\u51e0\u6b21\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u51fa\u9519\u76ee\u5f55\u5b58\u5728\uff0c\u5219\u56e0\u4e3a\u8def\u5f84\u957f\u5ea6\u8d85\u8fc7256\u5b57\u7b26\u5bfc\u81f4\u3002\u8bf7\u907f\u514d\u8fc7\u6df1\u7684\u76ee\u5f55\u3002")),(0,n.kt)("h3",{id:"\u4f7f\u7528installer\u5b89\u88c5\u65f6\u63d0\u793amonocompilerservicessymbolwriterdll-path-is-too-long-copy-ignore"},"\u4f7f\u7528Installer\u5b89\u88c5\u65f6\u63d0\u793aMono.CompilerServices.SymbolWriter.dll path is too long. copy ignore!"),(0,n.kt)("p",null,"MonoBleedingEdge\u5728installer\u4e2d\u4f1a\u88ab\u590d\u5236\u5230 HybridCLrData\uff0c \u4f46\u8fd9\u4e2a\u76ee\u5f55\u4e2d\u7684 lib\\mono\u76ee\u5f55\u5176\u5b9e\u662f\u6ca1\u6709\u7528\u5230\u7684\uff0c\u6240\u4ee5\u662f\u6ca1\u6709\u5f71\u54cd\u7684\u3002"),(0,n.kt)("h3",{id:"exception-regionunity_config-start-not-find"},"Exception. region:UNITY_CONFIG start not find"),(0,n.kt)("p",null,"hybridclr_unity\u7248\u672c\u8fc7\u4f4e\u3002\u8bf7\u5347\u7ea7\u6700\u65b0\u7248\u672c\u3002"),(0,n.kt)("h3",{id:"exception-regionplace_holder-start-not-find"},"Exception. region:PLACE_HOLDER start not find"),(0,n.kt)("p",null,"com.code-philosophy.hybridclr\u4e3a\u8f83\u65b0\u7248\u672c\uff0c\u4f46hybridclr\u4ee3\u7801\u592a\u65e7\u5bfc\u81f4\u3002"),(0,n.kt)("p",null,"\u8981\u6c42\u4f60\u7684 hybridclr\u53cail2cpp_plus\u5fc5\u987b\u662fmain\u5206\u652f\uff0c\u5e76\u4e14\u66f4\u65b0\u5230\u6700\u65b0\u3002"),(0,n.kt)("h3",{id:"exception-regionxxxxxx-start-not-find"},"Exception. region:XXXXXX start not find"),(0,n.kt)("p",null,"com.code-philosophy.hybridclr \u4e0e hybridclr\u53cail2cpp_plus\u7248\u672c\u4e0d\u5339\u914d\u5bfc\u81f4\u3002"),(0,n.kt)("p",null,"\u8981\u6c42\u76f8\u540c\u7248\u672c\u5206\u652f\uff0c\u5e76\u4e14\u540c\u65f6\u66f4\u5230\u6700\u65b0\uff08\u6216\u8005\u76f8\u5339\u914d\u7684\u7248\u672c\uff0c\u4f46\u5927\u591a\u6570\u4eba\u5f88\u96be\u77e5\u9053\u54ea\u4e2a\u662f\u76f8\u5339\u914d\u7684\u7248\u672c\uff09\u3002"),(0,n.kt)("h3",{id:"\u8fd0\u884c-hybridclrgeneratexxx-\u65f6\u53d1\u751f-exception-resolve-assembly-yyyassembly-fail"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"h3"},"HybridCLR/generate/xxx")," \u65f6\u53d1\u751f ",(0,n.kt)("inlineCode",{parentName:"h3"},"Exception: resolve assembly: yyyAssembly fail")),(0,n.kt)("p",null,"\u5982\u679c yyyAssembly\u4e3a",(0,n.kt)("inlineCode",{parentName:"p"},"netstandard"),"\uff0c\u5219\u56e0\u4e3a\u9879\u76ee\u4e2d\u6709\u7a0b\u5e8f\u96c6\u5f15\u7528\u4e86.net standard\uff0c\u6709\u51e0\u79cd\u65b9\u5f0f\u4f1a\u5f15\u8d77\u8fd9\u79cd\u9519\u8bef\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"Api Compatible Level\u4e3a.net standard\u3002 \u89e3\u51b3\u529e\u6cd5\u4e3a\u5c06\u5b83\u5207\u4e3a .Net 4.x\u6216.Net Framework"),(0,n.kt)("li",{parentName:"ul"},"\u4f60\u9879\u76ee\u4e2d\u4f7f\u7528\u4e86\u67d0\u4e2a\u9884\u7f16\u8bd1\u597d\u7684dll\uff0c\u5b83\u5f15\u7528\u4e86.net standard\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u5c06\u8fd9\u4e2adll\u6362\u6210\u5f15\u7528.net framework\u7684\u7248\u672c")),(0,n.kt)("p",null,"\u5426\u5219\u662f\u56e0\u4e3a\u6ca1\u6709\u627e\u5230\u4f9d\u8d56\u7684AOT\u6216\u8005\u70ed\u66f4\u65b0dll\u3002\u6709\u51e0\u79cd\u539f\u56e0\u5bfc\u81f4\u8fd9\u4e2a\u7ed3\u679c\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u662f\u4ee5dll\u5f62\u5f0f\u653e\u5230\u5de5\u7a0b\u5185\u7684\u70ed\u66f4\u65b0dll\u672a\u627e\u5230\uff0c\u5219\u4f60\u9700\u8981\u5728HybridCLRSettings\u7684\u5916\u90e8dll\u641c\u7d22\u8def\u5f84\u4e2d\u6dfb\u52a0\u5b83\u6240\u5728\u7684\u76ee\u5f55"),(0,n.kt)("li",{parentName:"ul"},"\u4f60\u4ece\u672a\u5728\u4e3b\u5de5\u7a0b\u4e2d\u4f7f\u7528\u8fc7\u8ddf\u8be5dll\u76f8\u5173\u4ee3\u7801\uff0c\u5bfc\u81f4\u5c31\u7b97link.xml\u4e2d\u4fdd\u7559\u4e86\uff0c\u4ecd\u7136\u6574\u4e2a\u88ab\u88c1\u526a\u3002\u89e3\u51b3\u529e\u6cd5\u662f\u5728\u4e3b\u5de5\u7a0b\u4e2d\u968f\u4fbf\u5199\u6bb5\u4ee3\u7801\u5f15\u7528\u8be5dll\u4e2d\u7684\u67d0\u4e2a\u7c7b\u6216\u51fd\u6570\u3002")),(0,n.kt)("h3",{id:"\u8fd0\u884c-hybridclrgeneratexxx-\u65f6\u53d1\u751f-nullreferenceexception-hybridclreditorabitypecreatorbasecreatetypeinfo-"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"h3"},"HybridCLR/generate/xxx")," \u65f6\u53d1\u751f ",(0,n.kt)("inlineCode",{parentName:"h3"},"NullReferenceException. HybridCLR.Editor.ABI.TypeCreatorBase.CreateTypeInfo ...")),(0,n.kt)("p",null,"\u5982\u679c\u4f60\u7684com.code-philosophy.hybridclr package\u7248\u672c\u4f4e\u4e8e 1.1.6,\u5219\u56e0\u4e3a\u4f60\u7684\u9879\u76ee\u4e2d\u5b58\u5728 mscorlib.dll\u3001System.Memory.dll\u3001UnityEngine.dll\u7b49\u8ddf\u7cfb\u7edfdll\u91cd\u540d\u7684\u51b2\u7a81dll\uff0c\u5bfc\u81f4\u89e3\u6790dll\u65f6\u9519\u8bef\u5730\u8bfb\u53d6\u4e86\u8fd9\u4e9bdll\uff0c\u8fdb\u800c\u53d1\u751f\u9519\u8bef\u3002"),(0,n.kt)("p",null,"\u5982\u679c\u7248\u672c >= 1.1.6, \u7531\u4e8e\u751f\u6210\u6865\u63a5\u51fd\u6570\u9700\u8981\u4f9d\u8d56\u88c1\u51cf\u540e\u7684AOT dll\uff0c\u800c\u4f60\u7684AOT dll\u662f\u65e7\u7684\uff0c\u5bfc\u81f4\u70ed\u66f4\u65b0\u4ee3\u7801\u4e2d\u4f9d\u8d56\u7684\u7c7b\u578b\u5728AOT dll\u4e2d\u56e0\u4e3a\u5378\u8f7d\u800c\u7f3a\u5931\u4e86\u3002\u56e0\u6b64\u4f60\u9700\u8981\u5148 ",(0,n.kt)("inlineCode",{parentName:"p"},"generate/linkxml"),"\uff0c\u518dbuild\u6216\u8005\u5bfc\u51fa\u5de5\u7a0b\u4ee5\u751f\u6210\u88c1\u526a\u540e\u7684aot dll\uff0c\u518d\u8fd0\u884c\u4f60\u5f53\u524d\u7684 ",(0,n.kt)("inlineCode",{parentName:"p"},"generate/xxx")," \u547d\u4ee4\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305ios\u7248\u672c\u65f6\u672a\u751f\u6210-assembliespostil2cppstrip-\u76ee\u5f55"},"\u6253\u5305iOS\u7248\u672c\u65f6\u672a\u751f\u6210 AssembliesPostIl2CppStrip \u76ee\u5f55"),(0,n.kt)("p",null,"\u5347\u7ea7com.code-philosophy.hybridclr\u7248\u672c\u5230v2.0.0\u4ee5\u4e0a\u3002"),(0,n.kt)("h3",{id:"buildfailedexceptoin-build-path-contains-a-project-prevously-built-without-the-create-visual-studio-solution"},'BuildFailedExceptoin: Build path contains a project prevously built without the "Create Visual Studio Solution"'),(0,n.kt)("p",null,"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"p"},"generate/all"),"\u6216\u8005",(0,n.kt)("inlineCode",{parentName:"p"},"generate/AOTDlls"),"\u65f6\uff0c\u4f1a\u5c1d\u8bd5\u8fdb\u884c\u5bfc\u51fa\u5de5\u7a0b\u4ee5\u83b7\u5f97\u88c1\u526a\u540e\u7684aot dll\u3002\u5982\u679c\u4f60\u7684\u9879\u76ee\u4e4b\u524d\u6253\u5305\u65f6\u5173\u95ed\u4e86 ",(0,n.kt)("inlineCode",{parentName:"p"},"Create Visual Studio Solution")," \u9009\u9879\uff0c\u5219Unity Editor\u81ea\u8eab\u539f\u56e0\uff0c\u4e00\u5b9a\u6982\u7387\u4e0b\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u9519\u8bef\u3002"),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\u662f\u6e05\u7a7a Library\u548cTemp\u4e0b\u7684 il2cpp \u76f8\u5173\u7f13\u5b58\u76ee\u5f55\uff0c\u6216\u8005\u7b80\u5355\u7c97\u66b4\u5220\u9664\u8fd9\u4e24\u4e2a\u76ee\u5f55\u3002"),(0,n.kt)("p",null,"\u5982\u679c\u8fd8\u662f\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\uff0c\u4f60\u5b8c\u5168\u53ef\u4ee5\u81ea\u5df1\u624b\u52a8build\u4e00\u6b21\u5de5\u7a0b\u6765\u751f\u6210aot dll\uff0c\u7136\u540e\u8df3\u8fc7 ",(0,n.kt)("inlineCode",{parentName:"p"},"generate/AOTDlls"),"\u8fd9\u4e00\u6b65\u3002"),(0,n.kt)("h2",{id:"\u6253\u5305\u65f6\u53d1\u751f\u9519\u8bef"},"\u6253\u5305\u65f6\u53d1\u751f\u9519\u8bef"),(0,n.kt)("h3",{id:"currently-selected-scripting-backend-il2cpp-is-not-installed"},"Currently selected scripting backend (IL2CPP) is not installed"),(0,n.kt)("p",null,"\u8bf7\u5728Unity Hub\u5b89\u88c5il2cpp\u6a21\u5757\u3002\u64cd\u4f5c\u65b9\u5f0f\u4e3a\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u5207\u5230UnityHub\u5de6\u4fa7\u7684 Installers \u6807\u7b7e\u9875"),(0,n.kt)("li",{parentName:"ul"},"\u4f60\u5728\u5f53\u524d\u4f7f\u7528\u7684Unity\u7248\u672c\u4e0a ",(0,n.kt)("inlineCode",{parentName:"li"},"\u53f3\u952e -> Add Modules"),"\uff0c\u9009\u4e2d\u5f53\u524d\u5e73\u53f0\u7684IL2CPP\u7ec4\u4ef6\uff0c\u4f8b\u5982Win\u5e73\u53f0\u9009 ",(0,n.kt)("inlineCode",{parentName:"li"},"Windows Build Support(Il2CPP)")),(0,n.kt)("li",{parentName:"ul"},"\u5b89\u88c5"),(0,n.kt)("li",{parentName:"ul"},"\u91cd\u65b0\u6253\u5f00Unity Editor")),(0,n.kt)("h3",{id:"exception-c-code-bulider-is-unable-to-build-c-code-inorder-to-build-c-code-for-windows-destop-you-must-have-one-of-these-installed-xxxxx"},"`Exception: C++ code bulider is unable to build C+ code. Inorder to build C++ code for Windows Destop, You must have one of these installed. xxxxx"),(0,n.kt)("p",null,"\u4f60\u6ca1\u6709\u5b89\u88c5 vs \u53ca win 10 sdk\u3002\u8bf7\u5b89\u88c5vs\uff0c\u5e76\u4e14\u5728 Visutal Studio Installer\u4e2d\u5b89\u88c5 ",(0,n.kt)("inlineCode",{parentName:"p"},"\u4f7f\u7528c++\u7684\u6e38\u620f\u5f00\u53d1")," \u8fd9\u4e2a\u7ec4\u4ef6\u3002 win 10 sdk\u9009\u6700\u65b0\u7684\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u9047\u5230-undefined-symbols-for-architecture-arm64--_objc_msgsendinitwithname-referenced-from------il2cppostimezoneinfogettimezonedataforid"},'\u9047\u5230 Undefined symbols for architecture arm64: "_objc_msgSend$initWithName:", referenced from: il2cpp::os::TimeZoneInfo::GetTimeZoneDataForID'),(0,n.kt)("p",null,"xcode\u7248\u672c\u592a\u65e7\u5bfc\u81f4\u3002\u66f4\u65b0\u5230\u8f83\u65b0\u7248\u672c\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305\u51fa\u73b0-undefined-symbols-runtimeapi_loadmetadataforaotassembly-\u6216-hybridclrapi_loadmetadataforaotassembly"},"\u6253\u5305\u51fa\u73b0 Undefined symbols\uff1a RuntimeApi_LoadMetadataForAOTAssembly \u6216 hybridclrApi_LoadMetadataForAOTAssembly"),(0,n.kt)("p",null,"\u6839\u672c\u539f\u56e0\u662f\u56e0\u4e3a\u4f60\u4f7f\u7528\u7684\u662f\u539f\u59cblibil2cpp\u4ee3\u7801\uff0c\u6709\u51e0\u4e2a\u60c5\u5f62\u4f1a\u5bfc\u81f4\u8fd9\u4e2a\u7ed3\u679c\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"Scripting Backend \u9519\u8bef\u9009\u62e9\u4e86 Mono"),(0,n.kt)("li",{parentName:"ul"},"\u5f00\u542f\u4e86",(0,n.kt)("inlineCode",{parentName:"li"},"\u5168\u5c40\u5b89\u88c5"),"\u9009\u9879\uff0c\u4f46\u6ca1\u6709\u6b63\u786e\u66ff\u6362Editor\u5b89\u88c5\u76ee\u5f55\u7684libil2cpp"),(0,n.kt)("li",{parentName:"ul"},"com.code-philosophy.hybridclr\u7684\u7248\u672c\u4f4e\u4e8ev3.1.0\uff0c\u540c\u65f6\u6ca1\u6709\u66ff\u6362xcode\u5de5\u7a0b\u7684libil2cpp.a\u6587\u4ef6\u3002\u8bf7\u6839\u636e ",(0,n.kt)("a",{parentName:"li",href:"/docs/basic/buildpipeline"},"build iOS libil2cpp.a")," \u6587\u6863\u7f16\u8bd1\u6700\u65b0\u7684\u3002\u7136\u540e\u66ff\u6362xcode\u9879\u76ee\u4e2d\u7684libil2cpp.a\u6587\u4ef6")),(0,n.kt)("h3",{id:"building-librarybeeartifactsxxxx-failed-with-output-fatalerror-in-unitiy-cil-linker-monocecilassemblyresolutionexception-failed-to-resolve-assemblyxxx"},"Building Library/Bee/artifacts/xxxx failed with output: Fatalerror in Unitiy CIL Linker Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly:'xxx'"),(0,n.kt)("p",null,"\u4f60\u5931\u8bef\u5730\u5728\u4e3b\u5de5\u7a0b\u91cc\u5f15\u7528 'xxx' \u8fd9\u4e2a\u70ed\u66f4\u65b0dll\u3002 \u5982\u679c\u4f60\u627e\u4e0d\u5230\u5230\u5e95\u54ea\u513f\u5f15\u7528\u7684\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u5148\u5220\u6389 'xxx' \u8fd9\u4e2a\u70ed\u66f4\u65b0\u6a21\u5757\uff0c\u6839\u636e\u7f16\u8bd1\u9519\u8bef\u6765\u5b9a\u4f4d\u3002"),(0,n.kt)("h3",{id:"webgl\u5e73\u53f0\u6253\u5305\u65f6\u9047\u5230-undefine-symbol-send-file-\u4e4b\u7c7b\u7684\u9519\u8bef"},"WebGL\u5e73\u53f0\u6253\u5305\u65f6\u9047\u5230 undefine symbol: send file \u4e4b\u7c7b\u7684\u9519\u8bef"),(0,n.kt)("p",null,"\u8fd9\u4e2a\u9519\u8bef\u8ddfHybridCLR\u65e0\u5173\u3002 \u8fd9\u662f\u56e0\u4e3aWebGL\u5bf9\u5f88\u591a\u51fd\u6570\u6709\u9650\u5236\uff0c\u6bd4\u5982\u8bf4send file\u7b26\u53f7\u4e22\u5931\u662f\u56e0\u4e3a\u4e0d\u80fd\u8c03\u7528IO\u76f8\u5173\u51fd\u6570\u3002\u9047\u5230\u95ee\u9898\u8bf7\u81ea\u5df1\u5254\u9664\u90a3\u4e9bWebGL\u5e73\u53f0\u4e0d\u652f\u6301\u51fd\u6570\u3002\u5177\u4f53\u81ea\u5df1\u9605\u8bfbUnity\u6587\u6863\u3002"),(0,n.kt)("h3",{id:"win-\u4e0b-\u6253\u5305\u65f6\u9047\u5230-xxxxil2cpplibil2cpputilsil2cpphashmaph71-error-c2039-hash_compare-is-not-a-member-of-stdext"},"Win \u4e0b \u6253\u5305\u65f6\u9047\u5230 ",(0,n.kt)("inlineCode",{parentName:"h3"},"xxxx\\\\il2cpp\\\\libil2cpp\\\\utils\\\\Il2CppHashMap.h(71): error C2039: 'hash_compare': is not a member of 'stdext'")),(0,n.kt)("p",null,"\u8fd9\u662f.net 7\u53d1\u5e03\u540e\u6700\u65b0\u7248\u672cvs\u6539\u52a8\u6253\u7834\u4e86\u4e00\u4e9b\u5411\u540e\u517c\u5bb9\u6027\u5f15\u8d77\u3002com.code-philosophy.hybridclr ",(0,n.kt)("inlineCode",{parentName:"p"},"v2.4.0"),"\u7248\u672c\u5df2\u7ecf\u5b8c\u5168\u89e3\u51b3\u4e86\u6b64\u95ee\u9898\u3002\u4f60\u53ef\u4ee5\u5347\u7ea7\u5230\u6b64\u7248\u672c\u6216\u8005\u56de\u9000\u5230visual studio 2022\u7684\u65e7\u7248\u672c\u6216\u8005\u4f7f\u75282019\u4e4b\u7c7b\u7684\u7248\u672c\u3002"),(0,n.kt)("p",null,"\u4e00\u79cd\u4e0d\u9700\u8981\u56de\u9000vs\u7248\u672c\u7684\u89e3\u51b3\u529e\u6cd5\u662f\u4fee\u6539 ",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLRData/LocalIl2CppData-{platform}/il2cpp/external/google/sparsehash/internal/sparseconfig.h"),"\uff0c\u65b0\u589e ",(0,n.kt)("inlineCode",{parentName:"p"},"#define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS")," \u5373\u53ef\u3002\u53ef\u53c2\u7167\u4e0b\u56fe\u4fee\u6539\u3002"),(0,n.kt)("p",null,(0,n.kt)("img",{alt:"stdext_error",src:i(3508).Z,width:"1641",height:"404"})),(0,n.kt)("p",null,"\u5176\u4ed6\u89e3\u51b3\u529e\u6cd5\u53c2\u89c1",(0,n.kt)("a",{parentName:"p",href:"https://forum.unity.com/threads/workaround-for-building-with-il2cpp-with-visual-studio-2022-17-4.1355570/"},"\u94fe\u63a5")),(0,n.kt)("h3",{id:"fatal-error-icallsmscorlibsystemmonotypeh-file-not-found-include-icallsmscorlibsystemmonotypeh"},"fatal error: 'icalls/mscorlib/System/MonoType.h' file not found #include \"icalls/mscorlib/System/MonoType.h\""),(0,n.kt)("p",null,"\u4f60\u6ca1\u6709\u751f\u6210\u6b63\u786e\u7684\u7248\u672c\u5b8f\uff0c\u8bf7\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Generate/All")," \u540e\u518d\u6253\u5305\u3002"),(0,n.kt)("h3",{id:"internal-build-system-error-buildprogram-exited-with-code--2147024894"},"Internal build system error. BuildProgram exited with code -2147024894."),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-text"},"Internal build system error. BuildProgram exited with code -2147024894.\nSystem.IO.FileNotFoundException: Could not load file or assembly 'Unity.IL2CPP.Bee.BuildLogic.WindowsDesktop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. \nFile name: 'Unity.IL2CPP.Bee.BuildLogic.WindowsDesktop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'\n")),(0,n.kt)("p",null,"\u8fd9\u662f\u56e0\u4e3a\u4f60Installer\u4e2d\u5b89\u88c5\u540e\u5207\u6362\u4e86Unity\u9879\u76ee\u7684\u7248\u672c\uff0c\u5bfc\u81f4Build Tool\u4e0d\u5339\u914d\u5bfc\u81f4\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u5728",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Installer..."),"\u4e2d\u91cd\u65b0\u5b89\u88c5\u4e00\u6b21\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0-directorynotfoundexception-xxxxlibrarybeeartifactsyyyymanagedstripted-\u9519\u8bef"},"\u6253\u5305\u65f6\u51fa\u73b0 DirectoryNotFoundException: xxxx\\Library\\Bee\\artifacts\\yyyy\\ManagedStripted \u9519\u8bef"),(0,n.kt)("p",null,"\u4f60\u9519\u8bef\u5730\u8bbe\u7f6e Scripting BackEngine \u4e3a mono\u5bfc\u81f4\u7684\u3002\u6709\u65f6\u5019\u4f60\u5c3d\u7ba1\u4e4b\u524d\u5df2\u7ecf\u5207\u5230il2cpp\u4e86\uff0c\u4f46\u5207\u6362\u5e73\u53f0\u65f6\u4ecd\u7136\u53ef\u80fd\u88abEditor\u91cd\u7f6e\u4e3amono\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u5207\u6362\u5230il2cpp\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305webgl\u5e73\u53f0\u65f6\u51fa\u73b0-directorynotfoundexception-xxxhybridclrdatalocalil2cppdata-yyyil2cppil2cpp-deps--\u9519\u8bef"},"\u6253\u5305WebGL\u5e73\u53f0\u65f6\u51fa\u73b0 DirectoryNotFoundException: xxx\\HybridCLRData\\LocalIl2CppData-{yyy}\\il2cpp\\il2cpp-deps \u9519\u8bef"),(0,n.kt)("p",null,"WebGL\u5fc5\u987b\u4f7f\u7528\u5168\u5c40\u5b89\u88c5\uff0c\u5373 HybridCLRSettings\u4e2duseGlobal\u4e3atrue\u3002 \u5207\u8bb0\u6bcf\u6b21",(0,n.kt)("inlineCode",{parentName:"p"},"Generate/xxx"),"\u4e4b\u540e\u5fc5\u987b\u91cd\u65b0\u5c06",(0,n.kt)("inlineCode",{parentName:"p"},"{project}/HybridCLRData/LocalIl2CppData-{platform}/il2cpp/libil2cpp"),"\n\u76ee\u5f55\u590d\u5236\u5230Editor\u5b89\u88c5\u76ee\u5f55\uff0c\u518d\u6253\u5305\u3002\u5426\u5219\u6709\u53ef\u80fd\u4f1a\u51fa\u73b0 Scripting Missing\u6216\u8005\u6865\u63a5\u51fd\u6570\u7f3a\u5931\u4e4b\u7c7b\u7684\u9519\u8bef\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0-gc_set_mark_stck_empty-\u51fd\u6570\u627e\u4e0d\u5230\u6216\u8005\u7b7e\u540d\u4e0d\u5339\u914d\u7684\u9519\u8bef"},"\u6253\u5305\u65f6\u51fa\u73b0 GC_set_mark_stck_empty \u51fd\u6570\u627e\u4e0d\u5230\u6216\u8005\u7b7e\u540d\u4e0d\u5339\u914d\u7684\u9519\u8bef"),(0,n.kt)("p",null,"\u8fd9\u662f\u81eaUnity2021.3.20\u8d77\u4fee\u6539\u4e86\u8fd9\u4e2a\u51fd\u6570\u7b7e\u540d\u5f15\u53d1\u7684\u95ee\u9898\u3002\u66f4\u65b0\u5230com.code-philosophy.hybridclr 2.0.10+ \u7248\u672c\uff0c\u91cd\u65b0install\u5373\u53ef\u89e3\u51b3\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305webgl\u5e73\u53f0\u51fa\u73b0-buildjs-undefined-symbol-runtimeapi_loadmetadataforaotassembly-referenced-by-top-level-compiled-cc-code"},"\u6253\u5305WebGL\u5e73\u53f0\u51fa\u73b0 ",(0,n.kt)("inlineCode",{parentName:"h3"},"build.js: undefined symbol: RuntimeApi_LoadMetadataForAOTAssembly (referenced by top-level compiled C/C++ code)")),(0,n.kt)("p",null,"WebGL\u4f7f\u7528\u5168\u5c40\u5b89\u88c5\uff0c\u4f60\u6ca1\u6709\u5c06\u672c\u5730",(0,n.kt)("inlineCode",{parentName:"p"},"{project}/HybridCLRData/LocalIl2CppData-{platform}/il2cpp/libil2cpp"),"\u66ff\u6362Editor\u5b89\u88c5\u76ee\u5f55\u7684\u539f\u59cblibil2cpp\uff0c\u5bfc\u81f4\u7f3a\u5931\u4e86\u51fd\u6570\u3002\u89e3\u51b3\u529e\u6cd5\u662f\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u8fd0\u884c",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/Il2cppDef"),"\u751f\u6210\u6b63\u786e\u7684\u7248\u672c\u5b8f"),(0,n.kt)("li",{parentName:"ul"},"\u590d\u5236 ",(0,n.kt)("inlineCode",{parentName:"li"},"{project}/HybridCLRData/LocalIl2CppData-{platform}/il2cpp/libil2cpp")," \u66ff\u6362Editor\u5b89\u88c5\u76ee\u5f55\u7684\u539f\u59cblibil2cpp\u3002\u6ce8\u610f\u5fc5\u987b\u662f\u66ff\u6362\u76ee\u5f55\uff0c\u800c\u4e0d\u662f\u5408\u5e76\u76ee\u5f55\uff0c\u8fd9\u4e2a\u53ef\u80fd\u4f1a\u5bfc\u81f4\u591a\u4e86\u4e00\u4e9b\u6587\u4ef6\u800c\u7f16\u8bd1\u51fa\u9519\u3002\n\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528\u521b\u5efa\u8f6f\u94fe\u63a5\u7684\u65b9\u5f0f\uff0c\u8be6\u7ec6\u8bf7\u770b",(0,n.kt)("a",{parentName:"li",href:"/docs/basic/install"},"\u5b89\u88c5HybridCLR"),"\u4e2d\u5173\u4e8e\u5168\u5c40\u5b89\u88c5\u7684\u6587\u6863\u3002")),(0,n.kt)("h3",{id:"\u6253\u5305webgl\u5e73\u53f0\u70b9\u51fbgenerateall\u53d1\u751f\u9519\u8bef"},"\u6253\u5305WebGL\u5e73\u53f0\u70b9\u51fb",(0,n.kt)("inlineCode",{parentName:"h3"},"Generate/All"),"\u53d1\u751f\u9519\u8bef"),(0,n.kt)("p",null,"\u6709\u4e24\u4e2a\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u6ca1\u6709\u66ff\u6362\u5168\u5c40\u5b89\u88c5\u4f4d\u7f6e\u7684libil2cpp\u6216\u8005\u521b\u5efa\u5176\u8f6f\u94fe\u63a5"),(0,n.kt)("li",{parentName:"ul"},"\u4f60\u4f7f\u7528\u4e86com.code-philosophy.hybridclr 2.1.0\u6216\u66f4\u9ad8\u7248\u672c\uff0c\u5728\u66ff\u6362\u5168\u5c40libil2cpp\u524d\u6ca1\u6709\u5148\u8fd0\u884c\u4e00\u6b21",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/Il2cppDef"),"\uff0c\u5bfc\u81f4\u6ca1\u6709\u6b63\u786e\u751f\u6210\u7248\u672c\u5b8f\uff0c\u8fdb\u800c\u5f15\u53d1\u7f16\u8bd1\u9519\u8bef\u3002")),(0,n.kt)("h3",{id:"\u6253\u5305\u51fa\u73b0-error-not-support-unity-version"},"\u6253\u5305\u51fa\u73b0 ",(0,n.kt)("inlineCode",{parentName:"h3"},'#error: "not support unity version"')),(0,n.kt)("p",null,"\u6709\u51e0\u79cd\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u4f60\u4f7f\u7528\u4e86 \u4f4e\u4e8e2019\u6216\u8005\u9ad8\u4e8e2021\u7684\u7248\u672c\uff0c\u8fd9\u4e9b\u7248\u672c\u76ee\u524d\u672a\u88ab\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"\u4f60\u6253\u5305\u524d\u672a\u8fd0\u884c",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/All"),"\u6216\u8005",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/Il2CppDef"),"\uff0c\u5bfc\u81f4\u672a\u751f\u6210Unity\u7248\u672c\u5b8f")),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0-could-not-find-a-part-of-path-xxxxhybridclrgeneratedunityversionh"},'\u6253\u5305\u65f6\u51fa\u73b0 \'could not find a part of path "xxxx/hybridclr/generated/UnityVersion.h"'),(0,n.kt)("p",null,"\u4f60\u66f4\u65b0 com.code-philosophy.hybridclr\u5305\u540e\u672a\u91cd\u65b0install\uff0c\u5bfc\u81f4\u672c\u5730lil2cpp\u76ee\u5f55\u4ee3\u7801\u8fc7\u65e7\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305\u91cc\u53d1\u73b0-undefined-symbols-for-architecture-arm64-il2cpputilsdebuggerxxxxx"},'\u6253\u5305\u91cc\u53d1\u73b0 "Undefined symbols for architecture arm64: "il2cpp::utils::Debugger::xxxxx"'),(0,n.kt)("p",null,"\u539f\u56e0\u662f build_libil2cpp.sh\u6253\u5305\u51fa\u7684 libil2cpp.a\u662frelease\u6a21\u5f0f\u7684\uff0c\u4e0edevelopment\u6a21\u5f0f\u7684\u5de5\u7a0b\u4e00\u8d77\u7f16\u8bd1\u65f6\u4f1a\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\u3002"),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\u662f\u53bb\u6389development build\u9009\u9879\uff0c\u6216\u8005\u8bf4\u81ea\u5df1\u4fee\u6539 build_libil2cpp.sh\uff0c\u6253\u5305\u51fa debug\u6a21\u5f0f\u7684libil2cpp.a"),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0-error-undefined-reference-to-systemnative-converterrorpaltoplatform"},"\u6253\u5305\u65f6\u51fa\u73b0 ",(0,n.kt)("inlineCode",{parentName:"h3"},"error: undefined reference to 'SystemNative-ConvertErrorPalToPlatform'")),(0,n.kt)("p",null,"\u4f60\u7528\u7684Unity\u7248\u672c\u6bd4\u8f83\u9ad8\uff0clibil2cpp\u65b0\u589e\u4e86\u4e00\u4e9b\u51fd\u6570\u3002\u800c\u4f60\u4f7f\u7528\u7684hybridclr\u7248\u672c\u592a\u4f4e\uff0c\u6ca1\u6709\u5305\u542b\u8fd9\u4e9b\u9ad8\u7248\u672c\u7684\u51fd\u6570\u3002"),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\uff1a\u5347\u7ea7hybridclr\u7248\u672c\uff0c\u91cd\u65b0install\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0-buildfailedexception-you-must-run-hybridclrinstaller-after-upgrading-package"},"\u6253\u5305\u65f6\u51fa\u73b0 ",(0,n.kt)("inlineCode",{parentName:"h3"},"BuildFailedException: You must run "),"HybridCLR/Installer",(0,n.kt)("inlineCode",{parentName:"h3"}," after upgrading package")),(0,n.kt)("p",null,"\u5347\u7ea7package\u540e\u672a\u6267\u884cInstall\u3002\u5728",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Installer"),"\u4e2d\u5b89\u88c5\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u51fa\u73b0-il2cpp_pop_active_exception-\u76f8\u5173\u7f16\u8bd1\u9519\u8bef"},"\u51fa\u73b0 IL2CPP_POP_ACTIVE_EXCEPTION \u76f8\u5173\u7f16\u8bd1\u9519\u8bef"),(0,n.kt)("p",null,"\u56e0\u4e3a2021.3.31\u548c2022.3.11\u7248\u672c\u8d77\uff0c\u4fee\u6539\u4e86\u8be5\u5b8f\u5b9a\u4e49\uff0c\u5bfc\u81f4\u5728\u65e7\u7248\u672chybridclr\u4e0a\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u5347\u7ea7\u5230\u6700\u65b0hybridclr\u7248\u672c\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\u901a\u7528\u5904\u7406\u529e\u6cd5"},"\u6253\u5305\u65f6\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\uff0c\u901a\u7528\u5904\u7406\u529e\u6cd5"),(0,n.kt)("p",null,"\u5f88\u5927\u7a0b\u5ea6\u662f\u4f60\u7684package \u548c hybridclr c++\u4ee3\u7801\u7248\u672c\u4e0d\u5339\u914d\u5bfc\u81f4\u7684\u6216\u8005\u4f60\u7684Unity\u7248\u672c\u592a\u65b0\uff0chybridclr\u6682\u672a\u652f\u6301\u3002 \u4f60\u9700\u8981\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u66f4\u65b0com.code-philosophy.hybridclr\u5230\u6700\u65b0\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/installer...")," \u91cc\u5b89\u88c5\u6700\u65b0\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/generate/all")," \u751f\u6210\u6240\u6709"),(0,n.kt)("li",{parentName:"ul"},"\u6253\u5305")),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0buildingbuilderfailedexceptionin-file-included-from-xxxhybridclrdatalocalil2cppdata-platformil2cpp"},"\u6253\u5305\u65f6\u51fa\u73b0Building.BuilderFailedException:In file included from xxx\\HybridCLRData\\LocalIl2CppData-{platform}\\il2cpp"),(0,n.kt)("p",null,"\u5982\u679c\u4f60\u7684\u7248\u672c\u4e3a 2020.3.0-2020.3.25\uff0c \u5728Installer\u4e2d\u5b8c\u6210\u5b89\u88c5\u540e\uff0c\u4ece2020.3.26+\u4efb\u4e00\u7248\u672c\u7684\u5b89\u88c5\u76ee\u5f55\u590d\u5236",(0,n.kt)("inlineCode",{parentName:"p"},"2020.3.x/Editor/Data/il2cpp/external"),"\u66ff\u6362 ",(0,n.kt)("inlineCode",{parentName:"p"},"{project}/HybridCLRData/LocalIl2CppData-{platform}/il2cpp/external")),(0,n.kt)("h2",{id:"\u8fd0\u884c\u65f6\u9519\u8bef"},"\u8fd0\u884c\u65f6\u9519\u8bef"),(0,n.kt)("h3",{id:"entrypointnotfoundexception-unable-to-find-entry-point-named-runtimeapi_loadmetadataforaotassembly-in-gameassembly"},"EntryPointNotFoundException. Unable to find entry point named 'RuntimeApi_LoadMetadataForAOTAssembly' in 'GameAssembly`"),(0,n.kt)("p",null,"\u6709\u51e0\u79cd\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u4f60\u5f53\u524d\u7684scripting backend\u4e3amono\uff0c\u8bf7\u5207\u6362\u5230il2cpp\u3002\u6709\u65f6\u5019\u56e0\u4e3a\u7f13\u5b58\u539f\u56e0\uff0c\u5373\u4f7f\u5207\u6362\u4e86\u4ecd\u7136\u4f1a\u6709\u9519\u8bef\uff0c\u8bf7\u6e05\u7a7aLibraries\u76ee\u5f55\u540e\u518d\u8bd5\u4e00\u6b21\u3002"),(0,n.kt)("li",{parentName:"ul"},"HybridCLRSettings\u91cc\u5f00\u542f\u4e86\u5168\u5c40\u5b89\u88c5\u3002")),(0,n.kt)("h3",{id:"a-scripted-object-probably-xxx-has-a-different-serialization-layout-when-loading-did-you-ifdef-unity_editor-a-section-of-your-serialized-properties-in-any-of-your-scripts"},"A scripted object (probably XXX?) has a different serialization layout when loading. Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?"),(0,n.kt)("p",null,"\u4e3b\u5de5\u7a0b\u7684AOT\u8d44\u6e90\u4e2d\u5f15\u7528\u4e86\u70ed\u66f4\u65b0\u811a\u672c\u4f1a\u5bfc\u81f4\u8fd9\u4e2a\u9519\u8bef\u3002\u4f8b\u5982Resources\u4e0b\u7684\u8d44\u6e90\u5f15\u7528\u4e86\u70ed\u66f4\u65b0\u811a\u672c\u3002"),(0,n.kt)("h3",{id:"\u6302\u8f7d\u5728\u8d44\u6e90\u4e0a\u7684\u811a\u672c\u51fa\u73b0-script-missing-\u9519\u8bef"},"\u6302\u8f7d\u5728\u8d44\u6e90\u4e0a\u7684\u811a\u672c\u51fa\u73b0 Script Missing \u9519\u8bef"),(0,n.kt)("p",null,"\u6709\u51e0\u79cd\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u662fiOS\u5e73\u53f0\uff0c\u6709\u53ef\u80fd\u56e0\u4e3a\u4f60\u5728\u70ed\u66f4\u65b0dll\u5217\u8868\u53d8\u5316\u540e\u672a",(0,n.kt)("inlineCode",{parentName:"li"},"Generate/all"),"\u5e76\u4e14\u91cd\u65b0\u7f16\u8bd1\u548c\u66ff\u6362libil2cpp.a\u6587\u4ef6\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u4f60\u4f7f\u7528Unity 2021\u53ca\u4ee5\u4e0a\u7248\u672c\uff0c\u5e76\u4e14WebGL\u5e73\u53f0\uff0c\u9700\u8981com.code-philosophy.hybridclr\u7248\u672c >= 2.0.9"),(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u662f\u5176\u4ed6\u7248\u672c\u53ca\u5e73\u53f0\uff0c\u7531\u4e8eUnity\u7684\u8d44\u6e90\u7ba1\u7406\u7684\u5b9e\u73b0\u673a\u5236\uff0c\u8d44\u6e90\u5fc5\u987b\u6253\u5305\u4e3aAssetBundle\u624d\u80fd\u6b63\u5e38\u6062\u590d\u70ed\u66f4\u65b0\u811a\u672c\uff0c\u653e\u5230Resource\u4e0b\u4e0d\u884c\u3002\u8be6\u60c5\u8bf7\u770b ",(0,n.kt)("a",{parentName:"li",href:"/docs/basic/monobehaviour"},"MonoBehaviour\u5de5\u4f5c\u6d41"),"\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u4f60\u5b89\u88c5\u4e86\u6700\u65b0\u7684main\u5206\u652f\u7684hybridclr\uff0c\u5219\u8981\u6c42com.code-philosophy.hybridclr package\u7248\u672c >= 1.1.17"),(0,n.kt)("li",{parentName:"ul"},"\u52a0\u8f7d\u8d44\u6e90\u65f6\u8fd8\u672a\u52a0\u8f7d\u5bf9\u5e94\u7684\u70ed\u66f4\u65b0\u7a0b\u5e8f\u96c6")),(0,n.kt)("h3",{id:"\u9047\u5230--this-icall-is-not-supported-by-il2cpp-at-systemappdomainload"},'\u9047\u5230 "This icall is not supported by il2cpp at System.AppDomain.Load"'),(0,n.kt)("p",null,"\u6709\u4e24\u79cd\u539f\u56e0"),(0,n.kt)("ol",null,(0,n.kt)("li",{parentName:"ol"},"\u5982\u679cios\u5e73\u53f0\uff0c\u56e0\u4e3aios\u5e73\u53f0\u5e76\u4e0d\u4ece\u6e90\u7801\u7f16\u8bd1libil2cpp\uff0c\u800c\u662f\u4f7f\u9884\u5148\u7f16\u8bd1\u597d\u7684libil2cpp.a\uff0c\u4f60\u9700\u8981\u66ff\u6362xcode\u5de5\u7a0b\u4e2d\u7684libil2cpp.a\u4e3aHybridCLR\u7684\u7f16\u8bd1\u7248\u672c\u3002\u7f16\u8bd1\u65b9\u5f0f\u8bf7\u770b",(0,n.kt)("a",{parentName:"li",href:"/docs/basic/buildpipeline"},"build libil2cpp.a for iOS")),(0,n.kt)("li",{parentName:"ol"},"\u5982\u679c\u662fwebgl\u5e73\u53f0\uff0c\u5219\u56e0\u4e3a\u4f7f\u7528\u5168\u5c40\u5b89\u88c5\u540e\u6ca1\u6709\u66ff\u6362\u5b89\u88c5\u76ee\u5f55\u7684libil2cpp\u6216\u8005\u6ca1\u6709\u5efa\u7acb\u5b89\u88c5\u76ee\u5f55libil2cpp\u5230\u9879\u76ee\u672c\u5730libil2cpp\u7684\u8f6f\u94fe\u63a5\u3002\u8be6\u7ec6\u89c1",(0,n.kt)("a",{parentName:"li",href:"../basic/buildwebgl"},"\u53d1\u5e03WebGL\u5e73\u53f0")),(0,n.kt)("li",{parentName:"ol"},"\u5982\u679c\u5176\u4ed6\u5e73\u53f0\uff0c\u5219\u56e0\u4e3a\u672a\u5b89\u88c5HybridCLR\u3002\u8bf7\u53c2\u7167",(0,n.kt)("a",{parentName:"li",href:"/docs/basic/install"},"\u5b89\u88c5HybridCLR"),"\u6587\u6863\u64cd\u4f5c\u3002")),(0,n.kt)("h3",{id:"\u70ed\u66f4\u65b0\u4e2d\u7269\u7406\u78b0\u649e-collision\u672a\u751f\u6548"},"\u70ed\u66f4\u65b0\u4e2d\u7269\u7406\u78b0\u649e Collision\u672a\u751f\u6548"),(0,n.kt)("p",null,"\u4e00\u822c\u662f\u56e0\u4e3aCollision\u811a\u672c\u53ca\u76f8\u5173\u529f\u80fd\u88ab\u88c1\u526a\u5bfc\u81f4\u7684\u3002\u8bf7\u786e\u4fdd\u76f8\u5173\u811a\u672c\u53cadll\u4e0d\u8981\u88ab\u88c1\u526a\u3002"),(0,n.kt)("h3",{id:"unsupported-internal-call-for-il2cpp-xxxx"},"unsupported internal call for il2cpp. xxxx"),(0,n.kt)("p",null,"\u8c03\u7528\u4e86\u4e00\u4e2aMono\u4e2d\u5b58\u5728\uff0c\u4f46\u5728il2cpp\u672a\u5b9e\u73b0\u7684\u51fd\u6570\u3002\u8bf7\u4fee\u6539\u4ee3\u7801\uff0c\u4e0d\u8981\u4f7f\u7528\u8fd9\u4e9b\u7c7b\u548c\u51fd\u6570\u3002"),(0,n.kt)("h3",{id:"async-\u4ee3\u7801\u7cfb\u7edf\u81ea\u5e26\u6216\u8005unitask\u4e4b\u7c7b\u6253\u5305\u540e\u8fd0\u884c\u65f6\u629b\u51fanullreferenceexception\u6216\u8005\u5d29\u6e83"},"async \u4ee3\u7801\uff08\u7cfb\u7edf\u81ea\u5e26\u6216\u8005UniTask\u4e4b\u7c7b\uff09\u6253\u5305\u540e\u8fd0\u884c\u65f6\u629b\u51faNullReferenceException\u6216\u8005\u5d29\u6e83"),(0,n.kt)("p",null,"\u6709\u51e0\u4e2a\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u5728\u5f02\u6b65\u4ee3\u7801\u4e2d\u629b\u51fa\u5f02\u5e38\uff08\u6bd4\u5982\u6865\u63a5\u51fd\u6570\u5f02\u5e38\u6216\u8005AOT\u6cdb\u578b\u5b9e\u4f8b\u5316\u5f02\u5e38\uff09\uff0c\u5bfc\u81f4\u5f02\u6b65\u4ee3\u7801\u672a\u80fd\u6b63\u786e\u6267\u884c\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a catch \u5f02\u6b65\u4e2d\u7684\u5f02\u5e38\uff0c\u5b9a\u4f4d\u51fa\u5177\u4f53\u7684\u539f\u56e0\uff0c\u518d\u89e3\u51b3"),(0,n.kt)("li",{parentName:"ul"},"\u8865\u5145\u5143\u6570\u636e\u53ca\u6865\u63a5\u51fd\u6570\u4e0e\u6700\u7ec8\u7684\u53d1\u5e03\u5305\u4e0d\u5339\u914d\u3002 \u5f53\u5f00\u542fdevelopment\u9009\u9879\u65f6\u4fbf\u4f1a\u4ea7\u751f\u8fd9\u4e2a\u95ee\u9898\uff1a",(0,n.kt)("inlineCode",{parentName:"li"},"Generate/All"),"\u6216",(0,n.kt)("inlineCode",{parentName:"li"},"Generate/AOTDlls"),"\u751f\u6210\u7684\u662f\u975edevelopment\u6a21\u5f0f\n\u4e0b\u7684aot dll\uff0c\u4e0e\u6253\u5305\u65f6\u751f\u6210\u7684development aot dll\u4e0d\u5339\u914d\uff0c\u8fdb\u4e00\u6b65\u5bfc\u81f4\u8865\u5145\u5143\u6570\u636e\u548c\u751f\u6210\u6865\u63a5\u51fd\u6570\u90fd\u662f\u9519\u8bef\u7684\uff0c\u4e8e\u662f\u5728\u8fd0\u884c\u65f6\u53d1\u751f\u4e25\u91cd\u7684\u9519\u8bef\u6216\u5d29\u6e83\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u6253\u5305\u65f6\n\u4e0d\u8981\u5173\u95eddevelopment\u9009\u9879\uff0c\u6216\u8005\u4fee\u6539",(0,n.kt)("inlineCode",{parentName:"li"},"Generate/AOTDlls"),"\u4ee3\u7801\uff0c\u5728BuildOptions\u4e2d\u6dfb\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Development"),"\u6807\u5fd7\u3002")),(0,n.kt)("h3",{id:"\u9047\u5230-unity-typeloadexception-could-not-load-type-xxxtype-from-assembly-yyyassembly"},"\u9047\u5230 Unity: TypeLoadException: Could not load type 'XxxType' from assembly 'yyyAssembly'"),(0,n.kt)("p",null,"\u5206\u51e0\u60c5\u51b5\uff1a"),(0,n.kt)("h4",{id:"\u60c5\u51b51yyyassembly-\u662f-netstandard"},"\u60c5\u51b51\uff1ayyyAssembly \u662f netstandard"),(0,n.kt)("p",null,"\u8fd9\u662f\u56e0\u4e3a\u4f60Player Settings\u91cc ",(0,n.kt)("inlineCode",{parentName:"p"},"api compatible level")," \u8bbe\u7f6e\u4e3a .net standard\u3002"),(0,n.kt)("p",null,"\u76ee\u524d\u652f\u6301.net standard 2.0\u548c.net 4.x\uff0c\u4f46\u5373\u4f7f\u4e3b\u5de5\u7a0b\u6253\u5305\u7528.net standard\uff0c\u70ed\u66f4\u65b0dll\u6253\u5305",(0,n.kt)("strong",{parentName:"p"},"\u5fc5\u987b\u7528.net 4.x"),"\u3002\u539f\u56e0\u662funity\u4f7f\u7528.net standard\u6253\u5305\u65f6\uff0c\u4f1a\u81ea\u52a8\u5265\u9664.net standard\u7684\u4f9d\u8d56\uff0c\u76f4\u63a5\u4f9d\u8d56\u6700\u7ec8\u7684dll\uff0c\u5bfc\u81f4\u4e3b\u5de5\u7a0b\u7684dll\u5217\u8868\u4e2d\u5b9e\u9645\u4e0a\u4e0d\u5b58\u5728net standard\u8fd9\u4e2adll\uff0c\u8fdb\u800c\u5bfc\u81f4\u70ed\u66f4\u65b0dll\u52a0\u8f7d\u65f6\uff0c\u627e\u4e0d\u5230\u6765\u81eanetstandard\u7684\u5bf9\u8c61\u3002"),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\u4e3a\u6253\u5305\u548c\u7f16\u8bd1\u70ed\u66f4\u65b0\u90fd\u7528.net 4.x\u6216\u8005\u6253\u5305\u7528.net standard 2.0\u4f46\u7f16\u8bd1\u70ed\u66f4\u65b0\u90e8\u5206\u65f6api compatible level\u5207\u6362\u4e3a.net 4.x(2021 \u8d77\u6539\u540d\u4e3a .net framework)\u3002"),(0,n.kt)("h4",{id:"\u60c5\u51b52yyyassembly\u662f-\u5176\u4ed6aot-assembly"},"\u60c5\u51b52\uff1ayyyAssembly\u662f \u5176\u4ed6AOT assembly"),(0,n.kt)("p",null,"\u8fd9\u662funity\u4ee3\u7801\u88c1\u526a\u5f15\u8d77\u7684\u51fd\u6570\u4e22\u5931\uff0c\u4f60\u4f7f\u7528\u5e38\u89c4\u7684\u907f\u514dunity\u4ee3\u7801\u88c1\u526a\u7684\u65b9\u5f0f\u5904\u7406\u5373\u53ef\u3002"),(0,n.kt)("p",null,"\u6309\u7167Unity\u9632\u88c1\u526a\u539f\u7406\uff0c\u4f60\u5728link.xml\u4e2d\u6dfb\u52a0\u5bf9\u4e22\u5931\u4ee3\u7801\u7c7b\u7684\u5f15\u7528\u5373\u53ef\uff0c\u4f46\u8fd9\u79cd\u4e8b\u60c5\u8d39\u65f6\u8d39\u529b\u3002"),(0,n.kt)("p",null,"HybridCLR\u63d0\u4f9b\u4e86\u5feb\u6377\u7684\u81ea\u52a8\u751f\u6210\u5de5\u5177\uff0c\u8fd0\u884c\u83dc\u5355\u547d\u4ee4 ",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Genrate/LinkXml")," \u6839\u636e\u70ed\u66f4\u65b0dll\u751f\u6210 link.xml\u3002"),(0,n.kt)("admonition",{type:"caution"},(0,n.kt)("p",{parentName:"admonition"},"\u5982\u679c\u4f60\u53d1\u73b0\u5728link.xml\u786e\u5b9epreserve\u4e86\u8fd9\u4e2a\u7c7b\uff0c\u4f46\u4ecd\u7136\u51fa\u73b0\u8fd9\u79cd\u7c7b\u578b\u7f3a\u5931\u7684\u9519\u8bef\uff0c\u8fd9\u662fUnity\u81ea\u8eab\u5f15\u8d77\u7684\u3002Unity\u8981\u6c42\u5fc5\u987b\u5728\u4ee3\u7801\u91cc\u5f15\u7528\u8fc7dll\u91cc\u7684\u4efb\u610f\u7c7b\uff0c\u624d\u4f1a\u4fdd\u7559\u8fd9\u4e2adll\uff0clink\u4e2d\u7684\u90a3\u4e9b\u914d\u7f6e\u624d\u4f1a\u751f\u6548\u3002\u56e0\u6b64\u9700\u8981\u4f60\u624b\u52a8\u5728\u4ee3\u7801\u91cc\u5f15\u7528\u7f3a\u5931\u7684\u8fd9\u4e2a\u7c7b\u6240\u5728\u7684dll\u91cc\u7684\u4efb\u610f\u4e00\u4e2a\u7c7b\u5373\u53ef\u3002 ")),(0,n.kt)("h4",{id:"\u60c5\u51b53yyyassembly\u662f\u70ed\u66f4\u65b0assembly"},"\u60c5\u51b53\uff1ayyyAssembly\u662f\u70ed\u66f4\u65b0assembly"),(0,n.kt)("p",null,"\u8fd9\u662f\u56e0\u4e3a\u4f60\u6ca1\u6709\u6309\u7167\u4f9d\u8d56\u987a\u5e8f\u52a0\u8f7d\u70ed\u66f4\u65b0dll\u3002\u4f8b\u5982\uff0c\u5982\u679cA\u4f9d\u8d56\u4e8eB\uff0c\u90a3\u4f60\u5e94\u8be5\u5148\u52a0\u8f7dB\uff0c\u518d\u52a0\u8f7dA\u3002"),(0,n.kt)("h3",{id:"missingmethodexception-hybridclrruntimeapiloadmetadataforaotassemblysystembytehybridclrhomologousimagemode-\u9519\u8bef"},"MissingMethodException: HybridCLR.RuntimeApi::LoadMetadataForAOTAssembly(System.Byte[],HybridCLR.HomologousImageMode) \u9519\u8bef"),(0,n.kt)("p",null,"\u5347\u7ea7hybridclr\u540e\u672a\u91cd\u65b0install\u3002 \u4ecev4.0.8\u8d77\uff0cRuntimeApi\u4e2d\u5b9a\u4e49\u7684extern\u51fd\u6570\u7531PInvoke\u6539\u4e3aInternalCall\uff0c\u5982\u679c\u5347\u7ea7hybridclr package\u540e\u6ca1\u6709\u91cd\u65b0install\u5c31\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u9519\u8bef\u3002"),(0,n.kt)("h3",{id:"missingmethodexception-methodnotfind-xxclassyyymethod-\u9519\u8bef"},"MissingMethodException: MethodNotFind xxClass::yyyMethod \u9519\u8bef"),(0,n.kt)("p",null,"\u8fd9\u662funity\u4ee3\u7801\u88c1\u526a\u5f15\u8d77\u7684\u51fd\u6570\u4e22\u5931\uff0c\u8fd0\u884c\u83dc\u5355\u547d\u4ee4 ",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Genrate/LinkXml")," \u6839\u636e\u70ed\u66f4\u65b0dll\u751f\u6210 link.xml\u3002\u540c\u65f6\u8981\u786e\u4fdd\u88ab\u5f15\u7528\u7684AOT\u7a0b\u5e8f\u96c6\u5728\u4e3b\u5de5\u7a0b\u4ee3\u7801\u4e2d\u88ab\u5f15\u7528\u8fc7\uff0c\u5426\u5219linkxml\u4e0d\u4f1a\u751f\u6548\u3002"),(0,n.kt)("h3",{id:"missingmethodexception-aot-generic-method-isnt-instantiated-in-aot-module-xxx"},"MissingMethodException: AOT generic method isn't instantiated in aot module xxx"),(0,n.kt)("p",null,"\u6709\u51e0\u4e2a\u539f\u56e0\uff1a"),(0,n.kt)("ol",null,(0,n.kt)("li",{parentName:"ol"},"\u8fd9\u662f\u56e0\u4e3aAOT\u6cdb\u578b\u51fd\u6570\u5b9e\u4f8b\u5316\u7f3a\u5931\u5f15\u8d77\u7684"),(0,n.kt)("li",{parentName:"ol"},"\u4f7f\u7528\u4e86Unity 2021\u5e76\u4e14 ",(0,n.kt)("inlineCode",{parentName:"li"},"Il2Cpp Code Generation")," \u9009\u9879\u4e3a ",(0,n.kt)("inlineCode",{parentName:"li"},"faster runtime"),"\uff0c\u5bfc\u81f4\u751f\u6210\u7684\u4ee3\u7801\u4e3a\u5b8c\u5168\u6cdb\u578b\u6a21\u5f0f\uff0c\u6240\u6709\u6cdb\u578b\u51fd\u6570\u7b7e\u540d\u5747\u53d1\u751f\u53d8\u5316\u3002\u5982\u679c\u6ca1\u6709\u8865\u5145\u5143\u6570\u636e\uff0c\u8c03\u7528\u5373\u4f7f\u5df2\u7ecf\u5728AOT\u4e2d\u5b9e\u4f8b\u5316\u7684\u6cdb\u578b\u51fd\u6570\uff0c\u4ecd\u7136\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u9519\u8bef\u3002"),(0,n.kt)("li",{parentName:"ol"},"\u5fae\u4fe1\u5c0f\u6e38\u620f\u8f6c\u6362\u5de5\u5177\uff0c\u9ed8\u8ba4\u4f1a\u5c06IL2CPP Code Generation\u8bbe\u7f6e\u4e3aFaster(Smaller) builds\u6a21\u5f0f\uff0c\u5982\u679c\u672a\u8865\u5145\u5143\u6570\u636e\uff0c\u4f1a\u5bfc\u81f4\u65e0\u6cd5\u8bbf\u95eeAOT\u6cdb\u578b\u51fd\u6570\u3002")),(0,n.kt)("p",null,"\u539f\u56e01\u7684\u89e3\u51b3\u529e\u6cd5\u4e3a\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u9519\u8bef\u65e5\u5fd7\u544a\u8bc9\u4f60\u7f3a\u5931\u54ea\u4e2aAOT\u51fd\u6570\u5b9e\u4f8b\u5316\uff0c\u4f60\u5c31\u5728\u4e3b\u5de5\u7a0b\u91cc\u52a0\u4e0a\u5bf9\u8fd9\u4e2a\u51fd\u6570\u7684\u8c03\u7528\uff0c\u4f7f\u5f97il2cpp\u5728\u6253\u5305\u65f6\u80fd\u751f\u6210\u8fd9\u4e2a\u6cdb\u578b\u51fd\u6570\u7684\u4ee3\u7801\u3002 \u4e3b\u5de5\u7a0b\u91cc\u4efb\u610f\u5730\u65b9\u52a0\u4e2a\u8fd9\u4e2a\u6cdb\u578bAOT\u51fd\u6570\u8c03\u7528\u90fd\u53ef\u4ee5\uff0c\u76ee\u524d\u4e00\u822c\u96c6\u4e2d\u52a0\u5230 RefTypes.cs \u8fd9\u4e2a\u6587\u4ef6\u91cc\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u4f7f\u7528\u8865\u5145\u5143\u6570\u636e\u6280\u672f")),(0,n.kt)("p",null,"\u539f\u56e02\u7684\u89e3\u51b3\u529e\u6cd5\u4e3a\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u4f7f\u7528\u8865\u5145\u5143\u6570\u636e\u6280\u672f")),(0,n.kt)("p",null,"\u539f\u56e03\u7684\u89e3\u51b3\u529e\u6cd5\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u4f7f\u7528\u8865\u5145\u5143\u6570\u636e\u6280\u672f"),(0,n.kt)("li",{parentName:"ul"},"\u81ea\u5df1\u6539\u5fae\u4fe1\u5de5\u5177\u6e90\u7801\uff0c\u5c06BuildSettings\u4e2d ",(0,n.kt)("inlineCode",{parentName:"li"},"IL2CPP Code Generation")," \u8bbe\u7f6e\u4e3a ",(0,n.kt)("inlineCode",{parentName:"li"},"Faster"),"\u3002")),(0,n.kt)("p",null,"\u5177\u4f53\u64cd\u4f5c\u8bf7\u770b",(0,n.kt)("a",{parentName:"p",href:"/docs/basic/aotgeneric"},"AOT\u6cdb\u578b\u539f\u7406\u4ecb\u7ecd")," \u6587\u6863\u3002"),(0,n.kt)("h3",{id:"\u9047\u5230-executionengineexception-metadata-type-not-match"},"\u9047\u5230 ExecutionEngineException: metadata type not match"),(0,n.kt)("p",null,"\u8865\u5145\u5143\u6570\u636e\u4f7f\u7528\u4e86\u4e0d\u5339\u914d\u7684\u88c1\u526a\u540e\u7684AOT\u7248\u672c\uff0c\u5e94\u8be5\u4f7f\u7528\u672c\u6b21\u6253\u5305\u751f\u6210\uff0c\u6216\u8005\u4f7f\u7528",(0,n.kt)("inlineCode",{parentName:"p"},"HomologousImageMode::SuperSet"),"\u6a21\u5f0f\u52a0\u8f7d\u3002"),(0,n.kt)("h3",{id:"\u9047\u5230executionengineexception-not-support-extern-method-xxxx"},"\u9047\u5230ExecutionEngineException: not support extern method: xxxx"),(0,n.kt)("p",null,"\u6709\u4e24\u79cd\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u5728\u70ed\u66f4\u65b0\u4e2d\u5b9a\u4e49\u4e86extern\u51fd\u6570\uff0c\u8fd9\u6682\u65f6\u4e0d\u652f\u6301\u3002\u89e3\u51b3\u529e\u6cd5\u662f\u5c06extern\u51fd\u6570\u79fb\u5230AOT\u90e8\u5206\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u4f7f\u7528\u4e86SuperSet\u5143\u6570\u636e\u683c\u5f0f\uff0c\u4f46\u8865\u5145\u5143\u6570\u636eaot dll\u592a\u65e7\uff0c\u5bfc\u81f4AOT\u4e2d\u7684\u6cdb\u578b\u5728\u8865\u5145\u5143\u6570\u636edll\u4e2d\u627e\u4e0d\u5230\u3002\u89e3\u51b3\u529e\u6cd5\u662f\u66f4\u65b0\u6700\u65b0\u7684AOT dll\u3002")),(0,n.kt)("h3",{id:"\u9047\u5230executionengineexceptionmethod-body-is-null-xxxyyyy"},"\u9047\u5230ExecutionEngineException:method body is null. xxx::yyyy"),(0,n.kt)("p",null,"\u539f\u56e0\u540c\u4e0a\u3002"),(0,n.kt)("h3",{id:"\u9047\u5230-executionengineexception-getmanaged2nativemethodpointer-not-support-xxxx-\u51fd\u6570\u540d"},"\u9047\u5230 ExecutionEngineException: GetManaged2NativeMethodPointer not support. xxxx \u51fd\u6570\u540d"),(0,n.kt)("p",null,"\u7f3a\u5931 interpreter -> aot \u65b9\u5411\u7684\u6865\u63a5\u51fd\u6570\u3002\u8bf7\u5148\u786e\u8ba4\u4f60\u7684 hybridclr\u662f\u6700\u65b0\u4ee3\u7801\uff0c com.code-philosophy.hybridclr package\u4e5f\u662f\u6700\u65b0\u7248\u672c\uff0c\n\u5e76\u4e14\u5df2\u7ecf\u751f\u6210\u6700\u65b0\u7684\u6865\u63a5\u51fd\u6570\u3002\u539f\u7406\u8bf7\u53c2\u8003 ",(0,n.kt)("a",{parentName:"p",href:"/docs/basic/methodbridge"},"\u6865\u63a5\u51fd\u6570")," \u3002"),(0,n.kt)("p",null,"\u5982\u679cAndroid\u4e0a\u6b63\u5e38\uff0c\u800ciOS\u4e0a\u6709\u95ee\u9898\uff0c\u5219\u662f\u56e0\u4e3a\u4f60\u6ca1\u6709\u91cd\u65b0\u7f16\u8bd1libil2cpp.a\u3002"),(0,n.kt)("p",null,"\u5982\u679c\u8fd8\u6709\u95ee\u9898\uff0c\u8bf7\u5728\u7fa4\u91cc\u53cd\u9988\u7ed9\u7ba1\u7406\u5458 \u6280\u672f\u652f\u6301\u3002"),(0,n.kt)("h3",{id:"\u9047\u5230executionengineexception-notsupportnative2managed"},"\u9047\u5230'ExecutionEngineException: NotSupportNative2Managed'"),(0,n.kt)("p",null,"\u7f3a\u5931 aot -> interpreter \u65b9\u5411\u7684\u6865\u63a5\u51fd\u6570\u3002\u8bf7\u5148\u786e\u8ba4\u4f60\u5df2\u751f\u6210\u6700\u65b0\u7684\u6865\u63a5\u51fd\u6570\u3002\u539f\u7406\u8bf7\u53c2\u8003 ",(0,n.kt)("a",{parentName:"p",href:"/docs/basic/methodbridge"},"\u6865\u63a5\u51fd\u6570")," \u3002\n\u5982\u679cAndroid\u4e0a\u6b63\u5e38\uff0c\u800ciOS\u4e0a\u6709\u95ee\u9898\uff0c\u5219\u662f\u56e0\u4e3a\u4f60\u6ca1\u6709\u91cd\u65b0\u7f16\u8bd1libil2cpp.a\u3002"),(0,n.kt)("p",null,"\u5982\u679c\u8fd8\u6709\u95ee\u9898\uff0c\u8bf7\u5728\u7fa4\u91cc\u53cd\u9988\u7ed9\u7ba1\u7406\u5458 \u6280\u672f\u652f\u6301\u3002"),(0,n.kt)("h3",{id:"executionengineexception-attempting-to-call-method-xxxx-for-which-no-ahead-of-time-aot-code-was-generated"},"ExecutionEngineException: Attempting to call method 'xxxx' for which no ahead of time (AOT) code was generated."),(0,n.kt)("p",null,"\u4e3a\u51fa\u9519\u7684\u51fd\u6570\u6240\u5728\u7684dll\u8865\u5145\u5143\u6570\u636e\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"getreversepinvokewrapper-fail-exceed-max-wrapper-num-of-method"},"GetReversePInvokeWrapper fail. exceed max wrapper num of method"),(0,n.kt)("p",null,"Wrapper\u51fd\u6570\u4e0d\u8db3\u3002\u4f60\u9700\u8981\u4e3a\u70ed\u66f4\u65b0\u4e2d\u7684\u6dfb\u52a0\u4e86MonoPInvokeCallback\u7279\u6027\u7684\u51fd\u6570\u9884\u7559Wrapper\u51fd\u6570\uff0c\u8be6\u89c1",(0,n.kt)("a",{parentName:"p",href:"/docs/basic/workwithscriptlanguage"},"MonoPInvokeCallback\u652f\u6301")),(0,n.kt)("h3",{id:"notsupportedexception-to-marshal-a-managed-method-please-add-an-attribute-named-monopinvokecallback-to-the-method-definition-the-method-were-attempting-to-marshal-isxxxx"},"NotSupportedException: To marshal a managed method, please add an attribute named 'MonoPInvokeCallback' to the method definition. The method we're attempting to marshal is:xxxx"),(0,n.kt)("p",null,"\u539f\u7406\u540c\u4e0a"),(0,n.kt)("h3",{id:"\u4f7f\u7528addressable\u8fdb\u884c\u70ed\u66f4\u65b0\u65f6\u52a0\u8f7d\u8d44\u6e90\u51fa\u73b0-unityengineaddressableassetsinvlidkeyexception-exception-of-type-unityengineaddressableassetsinvalidkeyexception-was-thrown-no-asset-found-with-for-key-xxxx-\u5f02\u5e38"},"\u4f7f\u7528addressable\u8fdb\u884c\u70ed\u66f4\u65b0\u65f6\uff0c\u52a0\u8f7d\u8d44\u6e90\u51fa\u73b0 UnityEngine.AddressableAssets.InvlidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown. No Asset found with for key 'xxxx' \u5f02\u5e38"),(0,n.kt)("p",null,"\u89e3\u51b3\u65b9\u6848\u6765\u81ea",(0,n.kt)("a",{parentName:"p",href:"https://github.com/Bian-Sh/Assemblies-Hotfix-Toolkit-Unity/issues/2"},"addressables\u548cHybridCLR\u7ed3\u5408\u4f7f\u7528\u5bfc\u81f4\u7684\u8d44\u6e90\u52a0\u8f7d\u9519\u8bef"),"\u3002\u4e5f\u53ef\u4ee5\u53c2\u89c1\u89c6\u9891",(0,n.kt)("a",{parentName:"p",href:"https://www.bilibili.com/video/BV1aP4y1o7xi/"},"\u8e29\u5751\u5b9e\u6218:\u5c06HybridCLR\u5bfc\u5165\u81ea\u5df1\u7684\u9879\u76ee\u5e76\u5b9e\u73b0\u70ed\u66f4\u65b0")," 1:02:30\u8d77\u7684\u5185\u5bb9\u3002"),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u5f53\u4f7f\u7528addressables\u6765\u66f4\u65b0\u70ed\u66f4\u65b0\u7684dll\u65f6\u3002\u7531\u4e8e\u662f\u5148\u4f7f\u7528\u4e86Addressables\u7684LoadAssetAsync\u51fd\u6570\uff0c\u5bfc\u81f4Addressables\u9700\u8981\u5148\u8fdb\u884c\u521d\u59cb\u5316\uff0c\u6b64\u65f6\u7684\u521d\u59cb\u5316\u4e2d\u5982\u679c\u8d44\u6e90\u7684\u7c7b\u578b\u662f\u5728\u70ed\u66f4\u65b0\u7684\u7c7b\u578b\uff0c\u90a3\u4e48Addressables\u4f1a\u8ba4\u4e3a\u8be5\u8d44\u6e90\u7684\u7c7b\u578b\u4e3aSystem.Object\u3002\u6240\u4ee5\u9700\u8981\u5148\u8fdb\u884cdll\u7684\u52a0\u8f7d\u624d\u80fd\u591f\u4f7f\u7528Addressables\u6765\u52a0\u8f7d\u8d44\u6e90\uff0c\u5426\u5219\u5c31\u4f1a\u62a5UnityEngine.AddressableAssets.InvalidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown. No Asset found with for Key=xxx. Key exists as Type=System.Object, which is not assignable from the requested Type=YourHotUpdateAssetType\u3002")),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\u6709\u5982\u4e0b\u51e0\u79cd\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u4f7f\u7528",(0,n.kt)("inlineCode",{parentName:"li"},"LoadAsset"),"\u63a5\u53e3\u52a0\u8f7d\u540e\u518d\u5f3a\u8f6c"),(0,n.kt)("li",{parentName:"ul"},"\u5728loaddll\u7ed3\u675f\u540e\u91cd\u65b0\u52a0\u8f7dcatalog ",(0,n.kt)("inlineCode",{parentName:"li"},'Addressables.LoadContentCatalogAsync($"{Addressables.RuntimePath}/catalog.json");'))),(0,n.kt)("h3",{id:"gameobjectgetcomponentstring-name-\u63a5\u53e3\u65e0\u6cd5\u83b7\u5f97\u7ec4\u4ef6"},"GameObject.GetComponent(string name) \u63a5\u53e3\u65e0\u6cd5\u83b7\u5f97\u7ec4\u4ef6"),(0,n.kt)("p",null,"\u8fd9\u662f\u5df2\u77e5bug\uff0c\u8ddfunity\u7684\u4ee3\u7801\u5b9e\u73b0\u6709\u5173\uff0c\u53ea\u6709\u6302\u8f7d\u5728\u70ed\u66f4\u65b0\u8d44\u6e90\u4e0a\u70ed\u66f4\u65b0\u811a\u672c\u624d\u4f1a\u6709\u8fd9\u4e2a\u95ee\u9898\uff0c\u901a\u8fc7\u4ee3\u7801\u4e2dAddComponent\u6dfb\u52a0\u7684\u70ed\u66f4\u65b0\u811a\u672c\u662f\u53ef\u4ee5\u7528\u8fd9\u4e2a\u65b9\u6cd5\u67e5\u627e\u5230\u3002\u8bf7\u6539\u7528 ",(0,n.kt)("inlineCode",{parentName:"p"},"GameObject.GetComponent()")," \u6216 ",(0,n.kt)("inlineCode",{parentName:"p"},"GameObject.GetComponent(typeof(T))")),(0,n.kt)("h3",{id:"gameobjectgetcomponentt\u6216\u8005gameobjectgetcomponenttype-type\u8fd4\u56denull"},"GameObject.GetComponent","<","T",">","()\u6216\u8005GameObject.GetComponent(Type type)\u8fd4\u56denull"),(0,n.kt)("p",null,"\u90fd\u662f\u56e0\u4e3a\u4f60\u628a\u67d0\u4e2a\u7a0b\u5e8f\u96c6\u52a0\u8f7d\u4e86\u4e24\u6b21\u5bfc\u81f4\uff0c\u4f60\u4f20\u5165\u7684T\u6216\u8005Type\u4e0eGameObject\u4e0a\u6302\u8f7d\u7684\u811a\u672c\u53ea\u662f\u540c\u540d\uff0c\u5374\u5c5e\u4e8e\u4e0d\u540c\u7a0b\u5e8f\u96c6\u5b9e\u4f8b\uff0c\u5bfc\u81f4\u8fd4\u56de\u65f6\u5f3a\u8f6c\u540e\u53d8\u6210null\u3002\u4e00\u822c\u6709\u5982\u4e0b\u51e0\u79cd\u60c5\u5f62\u5bfc\u81f4\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"Editor\u4e2d\u4f7f\u7528Assembly.Load\u52a0\u8f7d\u4e86\u70ed\u66f4\u65b0\u7a0b\u5e8f\u96c6\u3002\u7531\u4e8eEditor\u4e0b\u5df2\u7ecf\u9ed8\u8ba4\u52a0\u8f7d\u4e86\u6240\u6709\u7a0b\u5e8f\u96c6\uff0c\u4f60\u518d\u6b21\u52a0\u8f7d\u5c31\u4f1a\u51fa\u73b0\u91cd\u590d\u52a0\u8f7d\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u4f7f\u7528#if !UNITY_EDITOR \u5b8f\u6ce8\u91ca\u6389\u52a0\u8f7d\u4ee3\u7801"),(0,n.kt)("li",{parentName:"ul"},"\u7a0b\u5e8f\u96c6\u672a\u52a0\u5230hotUpdateAssemblies\u5217\u8868\uff0c\u5bfc\u81f4\u70ed\u66f4\u65b0\u7a0b\u5e8f\u96c6\u4e5f\u88ab\u6253\u5305\u5230\u4e86AOT\u4e2d\u3002\u5728\u70ed\u66f4\u65b0\u4e2d\u518d\u6b21\u52a0\u8f7d\u5219\u4f1a\u51fa\u73b0\u91cd\u590d\u52a0\u8f7d\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u5c06\u70ed\u66f4\u65b0\u7a0b\u5e8f\u96c6\u52a0\u5165\u5230hotUpdateAssemblies\u5217\u8868\uff0c\u91cd\u65b0\u6253\u5305")),(0,n.kt)("h3",{id:"\u4f7f\u7528memoryprofile\u6293\u53d6\u5185\u5b58\u5feb\u7167\u4f1a\u5d29\u6e83"},"\u4f7f\u7528MemoryProfile\u6293\u53d6\u5185\u5b58\u5feb\u7167\u4f1a\u5d29\u6e83"),(0,n.kt)("p",null,"\u5982\u679c\u4f60\u4f7f\u7528Unity 2021\u6216\u66f4\u9ad8\u7684\u7248\u672c\uff0c\u5347\u7ea7 hybridclr package\u5230",(0,n.kt)("inlineCode",{parentName:"p"},"v3.0.2"),"\u6216\u66f4\u9ad8\u7248\u672c\u5373\u53ef\u3002\u5982\u679c\u4f7f\u7528Unity 2019\u62162020\uff0c\u5c06\u63d0\u4ea4\u8bb0\u5f55\n",(0,n.kt)("a",{parentName:"p",href:"https://github.com/focus-creative-games/hybridclr/commit/062bfa99c71a53a6cb35fc89a52d67bbff2bb2d0"},"\u4fee\u590d\u4f7f\u7528Momery Profiler\u521b\u5efa\u5feb\u7167\u65f6\u53d1\u751f\u5d29\u6e83\u7684bug")," \u7684\u6539\u52a8\u5408\u5e76\u5230\u4f60\u5f53\u524d\u7248\u672c\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"profiler\u7684-beginsample\u548cendsample-\u65e0\u6cd5\u751f\u6548"},"profiler\u7684 BeginSample\u548cEndSample \u65e0\u6cd5\u751f\u6548"),(0,n.kt)("p",null,"\u56e0\u4e3a BeginSample\u4e4b\u7c7b\u7684\u51fd\u6570\u6709","[Condition]","\u7f16\u8bd1\u6ce8\u89e3\uff0c\u4ee5Release\u65b9\u5f0f\u7f16\u8bd1dll\u65f6\uff0c\u4f1a\u81ea\u52a8\u5254\u9664\u8fd9\u4e9b\u4ee3\u7801\uff0c\u5bfc\u81f4Profile\u5931\u6548\u3002\u89e3\u51b3\u529e\u6cd5\u662f\u4ee5Developemnt\u65b9\u5f0f\u7f16\u8bd1\u70ed\u66f4\u65b0dll\u5373\u53ef\uff0c\u4ee3\u7801\u5982\u4e0b\u3002\n\u5982\u679c\u4f60\u4f7f\u7528",(0,n.kt)("inlineCode",{parentName:"p"},"v3.0.2"),"\u53ca\u66f4\u9ad8\u7248\u672c\uff0c\u5df2\u7ecf\u9644\u5e26\u4e86",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/CompileDll/ActivedBuildTarget_Development"),"\u83dc\u5355\u547d\u4ee4\u3002"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-csharp"}," var group = BuildPipeline.GetBuildTargetGroup(target);\n\n ScriptCompilationSettings scriptCompilationSettings = new ScriptCompilationSettings();\n scriptCompilationSettings.group = group;\n scriptCompilationSettings.target = target;\n if (developmentBuild)\n {\n // \u6838\u5fc3\u662f\u8fd9\u884c\uff0c\u4f7f\u5f97\u4ee5Debug\u6a21\u5f0f\u7f16\u8bd1dll\uff0c\u4fdd\u7559Profiler.BeginSample\u4e4b\u7c7b\u7684\u51fd\u6570\u8c03\u7528\u3002\n scriptCompilationSettings.options |= ScriptCompilationOptions.DevelopmentBuild;\n }\n Directory.CreateDirectory(buildDir);\n ScriptCompilationResult scriptCompilationResult = PlayerBuildInterface.CompilePlayerScripts(scriptCompilationSettings, buildDir);\n")),(0,n.kt)("h3",{id:"ios\u4f7f\u7528\u76f8\u673a\u6ca1\u6709\u4efb\u4f55\u54cd\u5e94\u4f46\u4e5f\u4e0d\u62a5\u9519"},"iOS\u4f7f\u7528\u76f8\u673a\u6ca1\u6709\u4efb\u4f55\u54cd\u5e94\uff0c\u4f46\u4e5f\u4e0d\u62a5\u9519"),(0,n.kt)("p",null,"\u8fd9\u662fWebCamTexture.devices\u672a\u5728AOT\u4e2d\u4fdd\u7559\u5bfc\u81f4\u3002\u9700\u8981\u624b\u52a8\u5728AOT\u4e2d\u5f15\u7528 WebCamTexture.devices\u3002"),(0,n.kt)("h3",{id:"avpromoviecapture\u63d2\u4ef6\u5de5\u4f5c\u4e0d\u6b63\u5e38"},"AVProMovieCapture\u63d2\u4ef6\u5de5\u4f5c\u4e0d\u6b63\u5e38"),(0,n.kt)("p",null,"\u7531\u4e8eAVProMovieCapture\u81ea\u8eab\u5b9e\u73b0\u7684\u539f\u56e0\uff0c\u4f60\u9700\u8981\u5148\u521d\u59cb\u5316\u63d2\u4ef6\uff0c\u518d\u8fdb\u884cHybridCLR\u7684\u52a0\u8f7d\u4e4b\u7c7b\u7684\u64cd\u4f5c\u3002"),(0,n.kt)("h3",{id:"encodeimageandmetadataindex\u51fd\u6570\u51fa\u73b0il2cpp_assert\u65ad\u8a00\u5931\u8d25\u7684\u9519\u8bef"},"EncodeImageAndMetadataIndex\u51fd\u6570\u51fa\u73b0IL2CPP_ASSERT\u65ad\u8a00\u5931\u8d25\u7684\u9519\u8bef"),(0,n.kt)("p",null,"\u7531\u4e8e\u4f60\u4eec\u9879\u76ee\u7684\u70ed\u66f4\u65b0dll\u8fc7\u5927\u5bfc\u81f4\u3002\u6709\u4e24\u4e2a\u89e3\u51b3\u529e\u6cd5\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u4fee\u6539 ",(0,n.kt)("inlineCode",{parentName:"li"},"hybridclr\\metadata\\MetadataUtil.h")," \u6587\u4ef6\u4e2d kMetadataIndexBits\u5b9a\u4e49\uff0c\u9010\u6b65\u9012\u589e1\uff0c\u76f4\u81f3\u4e0d\u518d\u51fa\u73b0\u6b64\u95ee\u9898\u4e3a\u6b62\u3002kMetadataIndexBits\u7684\u503c\u5f3a\u70c8\u5efa\u8bae\u4e0d\u8981\u8d85\u8fc729\uff0c\u56e0\u4e3a\u6b64\u65f6\u6700\u5927\u80fd\u52a0\u8f7d\u7684\u70ed\u66f4\u65b0dll\u4e2a\u6570\u4e3a7\uff0c\u5f88\u5bb9\u6613\u8d85\u51fa\u6b64\u9650\u5236"),(0,n.kt)("li",{parentName:"ul"},"\u5c06\u70ed\u66f4\u65b0dll\u62c6\u5206\u6210\u591a\u4e2a\u66f4\u5c0f\u7684dll")),(0,n.kt)("h2",{id:"\u542f\u52a8\u65f6\u6267\u884cautomaticworldbootstrapinitialize\u8fc7\u7a0b\u4e2d\u8c03\u7528resourcecatalogdatagetguidfrompath\u5d29\u6e83"},"\u542f\u52a8\u65f6\u6267\u884cAutomaticWorldBootstrap::Initialize\u8fc7\u7a0b\u4e2d\u8c03\u7528ResourceCatalogData::GetGUIDFromPath\u5d29\u6e83"),(0,n.kt)("p",null,"\u4f60\u5f53\u524d\u4f7f\u7528\u7684entities\u7248\u672c\u4e0d\u80fd\u76f4\u63a5\u4f7f\u7528Player Building\u4e2d\u6253\u5305\uff0c\u5fc5\u987b\u5b89\u88c5",(0,n.kt)("inlineCode",{parentName:"p"},"com.unity.platforms"),"\uff0c\u4f7f\u7528\u5b83\u5355\u72ec\u7684\u63d0\u4f9b\u7684\u6253\u5305\u65b9\u5f0f\uff0c",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/Packages/com.unity.entities@0.51/manual/ecs_building_projects.html"},"\u8be6\u7ec6\u6587\u6863"),"\u3002"),(0,n.kt)("h2",{id:"jobschedulebatch-\u5d29\u6e83"},"Job.ScheduleBatch \u5d29\u6e83"),(0,n.kt)("p",null,"hybridclr\u4e0edots\u4e0d\u517c\u5bb9\u5bfc\u81f4\uff0c\u5546\u4e1a\u5316\u7248\u672c\u53ef\u4ee5\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002"),(0,n.kt)("h2",{id:"webgl-\u8fd0\u884c\u65f6\u51fa\u73b0-function-signature-mismatch\u9519\u8bef"},"WebGL \u8fd0\u884c\u65f6\u51fa\u73b0 function signature mismatch\u9519\u8bef"),(0,n.kt)("p",null,"WebGL\u5e73\u53f0\u6253\u5305\u65f6\u9ed8\u8ba4\u4f7f\u7528 ",(0,n.kt)("inlineCode",{parentName:"p"},"faster (smaller) build"),"\u9009\u9879\uff0c\u8be5\u9009\u9879\u4f1a\u5f00\u542f\u5b8c\u5168\u6cdb\u578b\u5171\u4eab\uff0c\u800c\u793e\u533a\u7248\u672c\u5fc5\u987b\u8865\u5145\u5143\u6570\u636e\u540e\u624d\u80fd\u4e0e\u5b8c\u5168\u6cdb\u578b\u5171\u4eab\u673a\u5236\u914d\u5408\u5de5\u4f5c\u3002\u89e3\u51b3\u529e\u6cd5\uff1a"),(0,n.kt)("ol",null,(0,n.kt)("li",{parentName:"ol"},"\u5148\u5c1d\u8bd5\u8865\u5145\u5143\u6570\u636e\uff0c\u8865\u5145",(0,n.kt)("inlineCode",{parentName:"li"},"\u51fd\u6570\u6808\u6700\u9876\u90e8\u7684c#\u4ee3\u7801\u6240\u5728\u7684"),"\u7a0b\u5e8f\u96c6"),(0,n.kt)("li",{parentName:"ol"},"\u5982\u679c\u8865\u5145\u5143\u6570\u636e\u540e\u4ecd\u7136\u6709\u95ee\u9898\uff0c\u5c06 ",(0,n.kt)("inlineCode",{parentName:"li"},"Player Settings"),"\u4e2d ",(0,n.kt)("inlineCode",{parentName:"li"},"IL2CPP Code Generation")," \u5207\u6362\u5230 ",(0,n.kt)("inlineCode",{parentName:"li"},"Faster Runtime")),(0,n.kt)("li",{parentName:"ol"},"\u5982\u679c\u4ecd\u7136\u6709\u95ee\u9898\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7684hybridclr\u7248\u672c"),(0,n.kt)("li",{parentName:"ol"},"\u5982\u679c\u8fd8\u6709\u95ee\u9898\uff0c\u8bf7\u8054\u7cfb\u6211\u4eec\u6280\u672f\u652f\u6301")),(0,n.kt)("h3",{id:"\u4f7f\u7528-unitynetcoderuntime-\u540e\u51fa\u73b0-notsupportnative2managed-\u6865\u63a5\u51fd\u6570\u7f3a\u5931\u5f02\u5e38"},"\u4f7f\u7528 Unity.netcode.runtime \u540e\u51fa\u73b0 NotSupportNative2Managed \u6865\u63a5\u51fd\u6570\u7f3a\u5931\u5f02\u5e38"),(0,n.kt)("p",null,"\u539f\u56e0\u662f \u5728Unity.netcode.runtime.dll\u4e2d NetworkManager.RpcReceiveHandler \u662finternal\uff0c \u5b9a\u4e49\u5982\u4e0b"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-csharp"},"internal delegate void RpcReceiveHandler(NetworkBehaviour behaviour, FastBufferReader reader, __RpcParams parameters);\n")),(0,n.kt)("p",null,"\u5bfc\u81f4\u751f\u6210\u5de5\u5177\u6ca1\u6709\u4e3a\u5b83\u751f\u6210\u6865\u63a5\u51fd\u6570\u3002\u4f46Unity\u53c8\u975e\u5e38trick\u5730\u5728\u6253\u5305\u65f6\u4e3a \u6807\u8bb0\u4e86 ",(0,n.kt)("inlineCode",{parentName:"p"},"[ClientRpc]")," \u548c ",(0,n.kt)("inlineCode",{parentName:"p"},"[ServerRpc]")," \u7684\u51fd\u6570\u751f\u6210 RpcReceiveHandler\n\u5904\u7406\u51fd\u6570\uff0c\u5e76\u4e14\u5f15\u7528\u4e86 internal \u7684RpcReceiveHandler\u7c7b\uff01\u5c45\u7136\u6ca1\u62a5\u9519\u3002 \u5bfc\u81f4\u51fa\u73b0\u6865\u63a5\u51fd\u6570\u7f3a\u5931\u7684\u95ee\u9898\u3002"),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\u4e3a\u4f60\u5728AOT\u5de5\u7a0b\u91cc\u4e5f\u5b9a\u4e49\u4e00\u4e2a\u76f8\u540c\u7b7e\u540d\u7684delegate\u3002"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-csharp"}," // \u7531\u4e8e __RpcParams\u4e5f\u662finternal\u7684\uff0c\u6211\u4eec\u8fd9\u513f\u81ea\u5df1\u91cd\u65b0\u5b9a\u4e49\u4e86\u4e00\u4e2a\u4e00\u6837\u7684\u7c7b\u578b\n public struct __RpcParams\n#pragma warning restore IDE1006 // restore naming rule violation check\n {\n public ServerRpcParams Server;\n public ClientRpcParams Client;\n }\n\n public delegate void MyRpcReceiveHandler(NetworkBehaviour behaviour, FastBufferReader reader, __RpcParams parameters);\n\n")))}u.isMDXComponent=!0},3508:(e,t,i)=>{i.d(t,{Z:()=>l});const l=i.p+"assets/images/stdext_error-361f52268511c28f121b8f53aed67960.jpg"}}]); \ No newline at end of file +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[5649],{3905:(e,t,i)=>{i.d(t,{Zo:()=>s,kt:()=>y});var l=i(7294);function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,l)}return i}function o(e){for(var t=1;t=0||(n[i]=e[i]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}var d=l.createContext({}),p=function(e){var t=l.useContext(d),i=t;return e&&(i="function"==typeof e?e(t):o(o({},t),e)),i},s=function(e){var t=p(e.components);return l.createElement(d.Provider,{value:t},e.children)},c="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},m=l.forwardRef((function(e,t){var i=e.components,n=e.mdxType,a=e.originalType,d=e.parentName,s=r(e,["components","mdxType","originalType","parentName"]),c=p(i),m=n,y=c["".concat(d,".").concat(m)]||c[m]||u[m]||a;return i?l.createElement(y,o(o({ref:t},s),{},{components:i})):l.createElement(y,o({ref:t},s))}));function y(e,t){var i=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=i.length,o=new Array(a);o[0]=m;var r={};for(var d in t)hasOwnProperty.call(t,d)&&(r[d]=t[d]);r.originalType=e,r[c]="string"==typeof e?e:n,o[1]=r;for(var p=2;p{i.r(t),i.d(t,{assets:()=>d,contentTitle:()=>o,default:()=>u,frontMatter:()=>a,metadata:()=>r,toc:()=>p});var l=i(7462),n=(i(7294),i(3905));const a={},o="\u5e38\u89c1\u9519\u8bef",r={unversionedId:"help/commonerrors",id:"help/commonerrors",title:"\u5e38\u89c1\u9519\u8bef",description:"\u76ee\u524d\u63d0\u4ea4\u7684\u7248\u672c\u90fd\u7ecf\u8fc7\u6d4b\u8bd5\uff0c\u57fa\u672c\u4e0d\u53ef\u80fd\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\u53ca\u5d29\u6e83\u6216\u8005\u57fa\u7840\u7684\u8fd0\u884c\u9519\u8bef\u3002\u5982\u679c\u67e5\u770b\u4e86\u5e38\u89c1\u9519\u8bef\uff0c\u8fd8\u672a\u80fd\u89e3\u51b3\u95ee\u9898\uff0c\u8bf7\u5c06com.code-philosophy.hybridclr\u3001hybridclr\u3001il2cpp_plus\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\uff0c\u518d\u8bd5\u4e00\u6b21\u3002",source:"@site/docs/help/commonerrors.md",sourceDirName:"help",slug:"/help/commonerrors",permalink:"/docs/help/commonerrors",draft:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"FAQ",permalink:"/docs/help/faq"},next:{title:"BUG\u53cd\u9988\u6a21\u677f",permalink:"/docs/help/issue"}},d={},p=[{value:"Unity Editor\u4e0b\u7684\u9519\u8bef",id:"unity-editor\u4e0b\u7684\u9519\u8bef",level:2},{value:"Package Manager\u4e2d\u5b89\u88c5 com.code-philosophy.hybridclr\u65f6\u51fa\u73b0 package\u540d\u4e0ecom.focus-creative-games.hybridclr_unity\u4e0d\u5339\u914d\u7684\u9519\u8bef",id:"package-manager\u4e2d\u5b89\u88c5-comcode-philosophyhybridclr\u65f6\u51fa\u73b0-package\u540d\u4e0ecomfocus-creative-gameshybridclr_unity\u4e0d\u5339\u914d\u7684\u9519\u8bef",level:3},{value:"\u70b9\u51fb HybridCLR/Setting\uff0c\u672a\u80fd\u627e\u5230HybridCLR\u8bbe\u7f6e\u754c\u9762",id:"\u70b9\u51fb-hybridclrsetting\u672a\u80fd\u627e\u5230hybridclr\u8bbe\u7f6e\u754c\u9762",level:3},{value:"Installer\u4e2d\u5b89\u88c5\u65f6\u51fa\u73b0 Win32Exception:ApplicationName='git', xxxx, Native erro=\u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002 \u9519\u8bef",id:"installer\u4e2d\u5b89\u88c5\u65f6\u51fa\u73b0-win32exceptionapplicationnamegit-xxxx-native-erro\u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6-\u9519\u8bef",level:3},{value:"Installer\u70b9\u51fb\u5b89\u88c5\u51fa\u73b0\uff1agit\u4e0d\u662f\u5185\u90e8\u6216\u5916\u90e8\u547d\u4ee4\uff0c\u4e5f\u4e0d\u662f\u53ef\u8fd0\u884c\u7684\u7a0b\u5e8f",id:"installer\u70b9\u51fb\u5b89\u88c5\u51fa\u73b0git\u4e0d\u662f\u5185\u90e8\u6216\u5916\u90e8\u547d\u4ee4\u4e5f\u4e0d\u662f\u53ef\u8fd0\u884c\u7684\u7a0b\u5e8f",level:3},{value:"\u4f7f\u7528Installer\u5b89\u88c5\u65f6\u53d1\u751f DirectoryNotFoundException: Counld not find a part of the path 'xxx'",id:"\u4f7f\u7528installer\u5b89\u88c5\u65f6\u53d1\u751f-directorynotfoundexception-counld-not-find-a-part-of-the-path-xxx",level:3},{value:"\u4f7f\u7528Installer\u5b89\u88c5\u65f6\u63d0\u793aMono.CompilerServices.SymbolWriter.dll path is too long. copy ignore!",id:"\u4f7f\u7528installer\u5b89\u88c5\u65f6\u63d0\u793amonocompilerservicessymbolwriterdll-path-is-too-long-copy-ignore",level:3},{value:"Exception. region:UNITY_CONFIG start not find",id:"exception-regionunity_config-start-not-find",level:3},{value:"Exception. region:PLACE_HOLDER start not find",id:"exception-regionplace_holder-start-not-find",level:3},{value:"Exception. region:XXXXXX start not find",id:"exception-regionxxxxxx-start-not-find",level:3},{value:"\u8fd0\u884c HybridCLR/generate/xxx \u65f6\u53d1\u751f Exception: resolve assembly: yyyAssembly fail",id:"\u8fd0\u884c-hybridclrgeneratexxx-\u65f6\u53d1\u751f-exception-resolve-assembly-yyyassembly-fail",level:3},{value:"\u8fd0\u884c HybridCLR/generate/xxx \u65f6\u53d1\u751f NullReferenceException. HybridCLR.Editor.ABI.TypeCreatorBase.CreateTypeInfo ...",id:"\u8fd0\u884c-hybridclrgeneratexxx-\u65f6\u53d1\u751f-nullreferenceexception-hybridclreditorabitypecreatorbasecreatetypeinfo-",level:3},{value:"\u6253\u5305iOS\u7248\u672c\u65f6\u672a\u751f\u6210 AssembliesPostIl2CppStrip \u76ee\u5f55",id:"\u6253\u5305ios\u7248\u672c\u65f6\u672a\u751f\u6210-assembliespostil2cppstrip-\u76ee\u5f55",level:3},{value:"BuildFailedExceptoin: Build path contains a project prevously built without the "Create Visual Studio Solution"",id:"buildfailedexceptoin-build-path-contains-a-project-prevously-built-without-the-create-visual-studio-solution",level:3},{value:"\u6253\u5305\u65f6\u53d1\u751f\u9519\u8bef",id:"\u6253\u5305\u65f6\u53d1\u751f\u9519\u8bef",level:2},{value:"Currently selected scripting backend (IL2CPP) is not installed",id:"currently-selected-scripting-backend-il2cpp-is-not-installed",level:3},{value:"`Exception: C++ code bulider is unable to build C+ code. Inorder to build C++ code for Windows Destop, You must have one of these installed. xxxxx",id:"exception-c-code-bulider-is-unable-to-build-c-code-inorder-to-build-c-code-for-windows-destop-you-must-have-one-of-these-installed-xxxxx",level:3},{value:"\u9047\u5230 Undefined symbols for architecture arm64: "_objc_msgSend$initWithName:", referenced from: il2cpp::os::TimeZoneInfo::GetTimeZoneDataForID",id:"\u9047\u5230-undefined-symbols-for-architecture-arm64--_objc_msgsendinitwithname-referenced-from------il2cppostimezoneinfogettimezonedataforid",level:3},{value:"\u6253\u5305\u51fa\u73b0 Undefined symbols\uff1a RuntimeApi_LoadMetadataForAOTAssembly \u6216 hybridclrApi_LoadMetadataForAOTAssembly",id:"\u6253\u5305\u51fa\u73b0-undefined-symbols-runtimeapi_loadmetadataforaotassembly-\u6216-hybridclrapi_loadmetadataforaotassembly",level:3},{value:"Building Library/Bee/artifacts/xxxx failed with output: Fatalerror in Unitiy CIL Linker Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly:'xxx'",id:"building-librarybeeartifactsxxxx-failed-with-output-fatalerror-in-unitiy-cil-linker-monocecilassemblyresolutionexception-failed-to-resolve-assemblyxxx",level:3},{value:"WebGL\u5e73\u53f0\u6253\u5305\u65f6\u9047\u5230 undefine symbol: send file \u4e4b\u7c7b\u7684\u9519\u8bef",id:"webgl\u5e73\u53f0\u6253\u5305\u65f6\u9047\u5230-undefine-symbol-send-file-\u4e4b\u7c7b\u7684\u9519\u8bef",level:3},{value:"Win \u4e0b \u6253\u5305\u65f6\u9047\u5230 xxxx\\il2cpp\\libil2cpp\\utils\\Il2CppHashMap.h(71): error C2039: 'hash_compare': is not a member of 'stdext'",id:"win-\u4e0b-\u6253\u5305\u65f6\u9047\u5230-xxxxil2cpplibil2cpputilsil2cpphashmaph71-error-c2039-hash_compare-is-not-a-member-of-stdext",level:3},{value:"fatal error: 'icalls/mscorlib/System/MonoType.h' file not found #include "icalls/mscorlib/System/MonoType.h"",id:"fatal-error-icallsmscorlibsystemmonotypeh-file-not-found-include-icallsmscorlibsystemmonotypeh",level:3},{value:"Internal build system error. BuildProgram exited with code -2147024894.",id:"internal-build-system-error-buildprogram-exited-with-code--2147024894",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0 DirectoryNotFoundException: xxxxLibraryBeeartifactsyyyyManagedStripted \u9519\u8bef",id:"\u6253\u5305\u65f6\u51fa\u73b0-directorynotfoundexception-xxxxlibrarybeeartifactsyyyymanagedstripted-\u9519\u8bef",level:3},{value:"\u6253\u5305WebGL\u5e73\u53f0\u65f6\u51fa\u73b0 DirectoryNotFoundException: xxxHybridCLRDataLocalIl2CppData-{yyy}il2cppil2cpp-deps \u9519\u8bef",id:"\u6253\u5305webgl\u5e73\u53f0\u65f6\u51fa\u73b0-directorynotfoundexception-xxxhybridclrdatalocalil2cppdata-yyyil2cppil2cpp-deps--\u9519\u8bef",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0 GC_set_mark_stck_empty \u51fd\u6570\u627e\u4e0d\u5230\u6216\u8005\u7b7e\u540d\u4e0d\u5339\u914d\u7684\u9519\u8bef",id:"\u6253\u5305\u65f6\u51fa\u73b0-gc_set_mark_stck_empty-\u51fd\u6570\u627e\u4e0d\u5230\u6216\u8005\u7b7e\u540d\u4e0d\u5339\u914d\u7684\u9519\u8bef",level:3},{value:"\u6253\u5305WebGL\u5e73\u53f0\u51fa\u73b0 build.js: undefined symbol: RuntimeApi_LoadMetadataForAOTAssembly (referenced by top-level compiled C/C++ code)",id:"\u6253\u5305webgl\u5e73\u53f0\u51fa\u73b0-buildjs-undefined-symbol-runtimeapi_loadmetadataforaotassembly-referenced-by-top-level-compiled-cc-code",level:3},{value:"\u6253\u5305WebGL\u5e73\u53f0\u70b9\u51fbGenerate/All\u53d1\u751f\u9519\u8bef",id:"\u6253\u5305webgl\u5e73\u53f0\u70b9\u51fbgenerateall\u53d1\u751f\u9519\u8bef",level:3},{value:"\u6253\u5305\u51fa\u73b0 #error: "not support unity version"",id:"\u6253\u5305\u51fa\u73b0-error-not-support-unity-version",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0 'could not find a part of path "xxxx/hybridclr/generated/UnityVersion.h"",id:"\u6253\u5305\u65f6\u51fa\u73b0-could-not-find-a-part-of-path-xxxxhybridclrgeneratedunityversionh",level:3},{value:"\u6253\u5305\u91cc\u53d1\u73b0 "Undefined symbols for architecture arm64: "il2cpp::utils::Debugger::xxxxx"",id:"\u6253\u5305\u91cc\u53d1\u73b0-undefined-symbols-for-architecture-arm64-il2cpputilsdebuggerxxxxx",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0 error: undefined reference to 'SystemNative-ConvertErrorPalToPlatform'",id:"\u6253\u5305\u65f6\u51fa\u73b0-error-undefined-reference-to-systemnative-converterrorpaltoplatform",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0 BuildFailedException: You must run HybridCLR/Installer after upgrading package",id:"\u6253\u5305\u65f6\u51fa\u73b0-buildfailedexception-you-must-run-hybridclrinstaller-after-upgrading-package",level:3},{value:"\u51fa\u73b0 IL2CPP_POP_ACTIVE_EXCEPTION \u76f8\u5173\u7f16\u8bd1\u9519\u8bef",id:"\u51fa\u73b0-il2cpp_pop_active_exception-\u76f8\u5173\u7f16\u8bd1\u9519\u8bef",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\uff0c\u901a\u7528\u5904\u7406\u529e\u6cd5",id:"\u6253\u5305\u65f6\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\u901a\u7528\u5904\u7406\u529e\u6cd5",level:3},{value:"\u6253\u5305\u65f6\u51fa\u73b0Building.BuilderFailedException:In file included from xxxHybridCLRDataLocalIl2CppData-{platform}il2cpp",id:"\u6253\u5305\u65f6\u51fa\u73b0buildingbuilderfailedexceptionin-file-included-from-xxxhybridclrdatalocalil2cppdata-platformil2cpp",level:3},{value:"\u8fd0\u884c\u65f6\u9519\u8bef",id:"\u8fd0\u884c\u65f6\u9519\u8bef",level:2},{value:"EntryPointNotFoundException. Unable to find entry point named 'RuntimeApi_LoadMetadataForAOTAssembly' in 'GameAssembly`",id:"entrypointnotfoundexception-unable-to-find-entry-point-named-runtimeapi_loadmetadataforaotassembly-in-gameassembly",level:3},{value:"A scripted object (probably XXX?) has a different serialization layout when loading. Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?",id:"a-scripted-object-probably-xxx-has-a-different-serialization-layout-when-loading-did-you-ifdef-unity_editor-a-section-of-your-serialized-properties-in-any-of-your-scripts",level:3},{value:"\u6302\u8f7d\u5728\u8d44\u6e90\u4e0a\u7684\u811a\u672c\u51fa\u73b0 Script Missing \u9519\u8bef",id:"\u6302\u8f7d\u5728\u8d44\u6e90\u4e0a\u7684\u811a\u672c\u51fa\u73b0-script-missing-\u9519\u8bef",level:3},{value:"\u9047\u5230 "This icall is not supported by il2cpp at System.AppDomain.Load"",id:"\u9047\u5230--this-icall-is-not-supported-by-il2cpp-at-systemappdomainload",level:3},{value:"\u70ed\u66f4\u65b0\u4e2d\u7269\u7406\u78b0\u649e Collision\u672a\u751f\u6548",id:"\u70ed\u66f4\u65b0\u4e2d\u7269\u7406\u78b0\u649e-collision\u672a\u751f\u6548",level:3},{value:"unsupported internal call for il2cpp. xxxx",id:"unsupported-internal-call-for-il2cpp-xxxx",level:3},{value:"async \u4ee3\u7801\uff08\u7cfb\u7edf\u81ea\u5e26\u6216\u8005UniTask\u4e4b\u7c7b\uff09\u6253\u5305\u540e\u8fd0\u884c\u65f6\u629b\u51faNullReferenceException\u6216\u8005\u5d29\u6e83",id:"async-\u4ee3\u7801\u7cfb\u7edf\u81ea\u5e26\u6216\u8005unitask\u4e4b\u7c7b\u6253\u5305\u540e\u8fd0\u884c\u65f6\u629b\u51fanullreferenceexception\u6216\u8005\u5d29\u6e83",level:3},{value:"\u9047\u5230 Unity: TypeLoadException: Could not load type 'XxxType' from assembly 'yyyAssembly'",id:"\u9047\u5230-unity-typeloadexception-could-not-load-type-xxxtype-from-assembly-yyyassembly",level:3},{value:"\u60c5\u51b51\uff1ayyyAssembly \u662f netstandard",id:"\u60c5\u51b51yyyassembly-\u662f-netstandard",level:4},{value:"\u60c5\u51b52\uff1ayyyAssembly\u662f \u5176\u4ed6AOT assembly",id:"\u60c5\u51b52yyyassembly\u662f-\u5176\u4ed6aot-assembly",level:4},{value:"\u60c5\u51b53\uff1ayyyAssembly\u662f\u70ed\u66f4\u65b0assembly",id:"\u60c5\u51b53yyyassembly\u662f\u70ed\u66f4\u65b0assembly",level:4},{value:"MissingMethodException: HybridCLR.RuntimeApi::LoadMetadataForAOTAssembly(System.Byte[],HybridCLR.HomologousImageMode) \u9519\u8bef",id:"missingmethodexception-hybridclrruntimeapiloadmetadataforaotassemblysystembytehybridclrhomologousimagemode-\u9519\u8bef",level:3},{value:"MissingMethodException: MethodNotFind xxClass::yyyMethod \u9519\u8bef",id:"missingmethodexception-methodnotfind-xxclassyyymethod-\u9519\u8bef",level:3},{value:"MissingMethodException: AOT generic method isn't instantiated in aot module xxx",id:"missingmethodexception-aot-generic-method-isnt-instantiated-in-aot-module-xxx",level:3},{value:"\u9047\u5230 ExecutionEngineException: metadata type not match",id:"\u9047\u5230-executionengineexception-metadata-type-not-match",level:3},{value:"\u9047\u5230ExecutionEngineException: not support extern method: xxxx",id:"\u9047\u5230executionengineexception-not-support-extern-method-xxxx",level:3},{value:"\u9047\u5230ExecutionEngineException:method body is null. xxx::yyyy",id:"\u9047\u5230executionengineexceptionmethod-body-is-null-xxxyyyy",level:3},{value:"\u9047\u5230 ExecutionEngineException: GetManaged2NativeMethodPointer not support. xxxx \u51fd\u6570\u540d",id:"\u9047\u5230-executionengineexception-getmanaged2nativemethodpointer-not-support-xxxx-\u51fd\u6570\u540d",level:3},{value:"\u9047\u5230'ExecutionEngineException: NotSupportNative2Managed'",id:"\u9047\u5230executionengineexception-notsupportnative2managed",level:3},{value:"ExecutionEngineException: Attempting to call method 'xxxx' for which no ahead of time (AOT) code was generated.",id:"executionengineexception-attempting-to-call-method-xxxx-for-which-no-ahead-of-time-aot-code-was-generated",level:3},{value:"GetReversePInvokeWrapper fail. exceed max wrapper num of method",id:"getreversepinvokewrapper-fail-exceed-max-wrapper-num-of-method",level:3},{value:"NotSupportedException: To marshal a managed method, please add an attribute named 'MonoPInvokeCallback' to the method definition. The method we're attempting to marshal is:xxxx",id:"notsupportedexception-to-marshal-a-managed-method-please-add-an-attribute-named-monopinvokecallback-to-the-method-definition-the-method-were-attempting-to-marshal-isxxxx",level:3},{value:"\u4f7f\u7528addressable\u8fdb\u884c\u70ed\u66f4\u65b0\u65f6\uff0c\u52a0\u8f7d\u8d44\u6e90\u51fa\u73b0 UnityEngine.AddressableAssets.InvlidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown. No Asset found with for key 'xxxx' \u5f02\u5e38",id:"\u4f7f\u7528addressable\u8fdb\u884c\u70ed\u66f4\u65b0\u65f6\u52a0\u8f7d\u8d44\u6e90\u51fa\u73b0-unityengineaddressableassetsinvlidkeyexception-exception-of-type-unityengineaddressableassetsinvalidkeyexception-was-thrown-no-asset-found-with-for-key-xxxx-\u5f02\u5e38",level:3},{value:"GameObject.GetComponent(string name) \u63a5\u53e3\u65e0\u6cd5\u83b7\u5f97\u7ec4\u4ef6",id:"gameobjectgetcomponentstring-name-\u63a5\u53e3\u65e0\u6cd5\u83b7\u5f97\u7ec4\u4ef6",level:3},{value:"GameObject.GetComponent<T>()\u6216\u8005GameObject.GetComponent(Type type)\u8fd4\u56denull",id:"gameobjectgetcomponentt\u6216\u8005gameobjectgetcomponenttype-type\u8fd4\u56denull",level:3},{value:"\u4f7f\u7528MemoryProfile\u6293\u53d6\u5185\u5b58\u5feb\u7167\u4f1a\u5d29\u6e83",id:"\u4f7f\u7528memoryprofile\u6293\u53d6\u5185\u5b58\u5feb\u7167\u4f1a\u5d29\u6e83",level:3},{value:"profiler\u7684 BeginSample\u548cEndSample \u65e0\u6cd5\u751f\u6548",id:"profiler\u7684-beginsample\u548cendsample-\u65e0\u6cd5\u751f\u6548",level:3},{value:"iOS\u4f7f\u7528\u76f8\u673a\u6ca1\u6709\u4efb\u4f55\u54cd\u5e94\uff0c\u4f46\u4e5f\u4e0d\u62a5\u9519",id:"ios\u4f7f\u7528\u76f8\u673a\u6ca1\u6709\u4efb\u4f55\u54cd\u5e94\u4f46\u4e5f\u4e0d\u62a5\u9519",level:3},{value:"AVProMovieCapture\u63d2\u4ef6\u5de5\u4f5c\u4e0d\u6b63\u5e38",id:"avpromoviecapture\u63d2\u4ef6\u5de5\u4f5c\u4e0d\u6b63\u5e38",level:3},{value:"EncodeImageAndMetadataIndex\u51fd\u6570\u51fa\u73b0IL2CPP_ASSERT\u65ad\u8a00\u5931\u8d25\u7684\u9519\u8bef",id:"encodeimageandmetadataindex\u51fd\u6570\u51fa\u73b0il2cpp_assert\u65ad\u8a00\u5931\u8d25\u7684\u9519\u8bef",level:3},{value:"\u542f\u52a8\u65f6\u6267\u884cAutomaticWorldBootstrap::Initialize\u8fc7\u7a0b\u4e2d\u8c03\u7528ResourceCatalogData::GetGUIDFromPath\u5d29\u6e83",id:"\u542f\u52a8\u65f6\u6267\u884cautomaticworldbootstrapinitialize\u8fc7\u7a0b\u4e2d\u8c03\u7528resourcecatalogdatagetguidfrompath\u5d29\u6e83",level:2},{value:"Job.ScheduleBatch \u5d29\u6e83",id:"jobschedulebatch-\u5d29\u6e83",level:2},{value:"WebGL \u8fd0\u884c\u65f6\u51fa\u73b0 function signature mismatch\u9519\u8bef",id:"webgl-\u8fd0\u884c\u65f6\u51fa\u73b0-function-signature-mismatch\u9519\u8bef",level:2},{value:"\u4f7f\u7528 Unity.netcode.runtime \u540e\u51fa\u73b0 NotSupportNative2Managed \u6865\u63a5\u51fd\u6570\u7f3a\u5931\u5f02\u5e38",id:"\u4f7f\u7528-unitynetcoderuntime-\u540e\u51fa\u73b0-notsupportnative2managed-\u6865\u63a5\u51fd\u6570\u7f3a\u5931\u5f02\u5e38",level:3}],s={toc:p},c="wrapper";function u(e){let{components:t,...a}=e;return(0,n.kt)(c,(0,l.Z)({},s,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"\u5e38\u89c1\u9519\u8bef"},"\u5e38\u89c1\u9519\u8bef"),(0,n.kt)("p",null,"\u76ee\u524d\u63d0\u4ea4\u7684\u7248\u672c\u90fd\u7ecf\u8fc7\u6d4b\u8bd5\uff0c\u57fa\u672c\u4e0d\u53ef\u80fd\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\u53ca\u5d29\u6e83\u6216\u8005\u57fa\u7840\u7684\u8fd0\u884c\u9519\u8bef\u3002\u5982\u679c\u67e5\u770b\u4e86\u5e38\u89c1\u9519\u8bef\uff0c\u8fd8\u672a\u80fd\u89e3\u51b3\u95ee\u9898\uff0c\u8bf7\u5c06com.code-philosophy.hybridclr\u3001hybridclr\u3001il2cpp_plus\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\uff0c\u518d\u8bd5\u4e00\u6b21\u3002\n\u5982\u679c\u4ecd\u7136\u6ca1\u6709\u89e3\u51b3\u95ee\u9898\uff0c\u53ef\u4ee5\u52a0\u5165\u4ee5\u4e0b\u7fa4\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u65b0\u624b1\u7fa4\uff1a428404198\uff08\u6ee1\uff09"),(0,n.kt)("li",{parentName:"ul"},"\u65b0\u624b2\u7fa4\uff1a",(0,n.kt)("strong",{parentName:"li"},"680274677\uff08\u63a8\u8350\uff09"))),(0,n.kt)("h2",{id:"unity-editor\u4e0b\u7684\u9519\u8bef"},"Unity Editor\u4e0b\u7684\u9519\u8bef"),(0,n.kt)("h3",{id:"package-manager\u4e2d\u5b89\u88c5-comcode-philosophyhybridclr\u65f6\u51fa\u73b0-package\u540d\u4e0ecomfocus-creative-gameshybridclr_unity\u4e0d\u5339\u914d\u7684\u9519\u8bef"},"Package Manager\u4e2d\u5b89\u88c5 com.code-philosophy.hybridclr\u65f6\u51fa\u73b0 package\u540d\u4e0ecom.focus-creative-games.hybridclr_unity\u4e0d\u5339\u914d\u7684\u9519\u8bef"),(0,n.kt)("p",null,"\u4ece3.0.0\u7248\u672c\u8d77\uff0ccom.focus-creative-games.hybridclr_unity\u6539\u540dcom.code-philosophy.hybridclr\uff0c\u56e0\u6b64\u76f4\u63a5\u5347\u7ea7\u5b89\u88c5\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u9519\u8bef\u3002"),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\uff1a\u5148\u79fb\u9664\u65e7\u7248\u672c\u7684com.focus-creative-games.hybridclr_unity\uff0c\u518d\u91cd\u65b0\u5b89\u88c5\u6700\u65b0\u7248\u672c\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u70b9\u51fb-hybridclrsetting\u672a\u80fd\u627e\u5230hybridclr\u8bbe\u7f6e\u754c\u9762"},"\u70b9\u51fb ",(0,n.kt)("inlineCode",{parentName:"h3"},"HybridCLR/Setting"),"\uff0c\u672a\u80fd\u627e\u5230HybridCLR\u8bbe\u7f6e\u754c\u9762"),(0,n.kt)("p",null,"\u5220\u9664 ",(0,n.kt)("inlineCode",{parentName:"p"},"ProjectSettings/HybridCLRSettings.asset"),"\u6587\u4ef6\u5373\u53ef\u3002\u5982\u679c\u4ecd\u672a\u663e\u793a\uff0c\u5219\u91cd\u542fUnity Editor\u3002"),(0,n.kt)("h3",{id:"installer\u4e2d\u5b89\u88c5\u65f6\u51fa\u73b0-win32exceptionapplicationnamegit-xxxx-native-erro\u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6-\u9519\u8bef"},"Installer\u4e2d\u5b89\u88c5\u65f6\u51fa\u73b0 ",(0,n.kt)("inlineCode",{parentName:"h3"},"Win32Exception:ApplicationName='git', xxxx, Native erro=\u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u3002")," \u9519\u8bef"),(0,n.kt)("p",null,"\u56e0\u4e3agit\u672a\u5b89\u88c5\uff08Windows \u4e0b\u5b89\u88c5 ",(0,n.kt)("a",{parentName:"p",href:"https://gitforwindows.org/"},"GitForWindows"),"\u3002\u5176\u4ed6\u5e73\u53f0\u8bf7\u81ea\u5df1\u914c\u60c5\u5b89\u88c5\uff09\uff0c\u6216\u8005\u5b89\u88c5git\u540e\u672a\u91cd\u542fUnityEditor\u548cUnityHub\u3002\u5982\u679c\u4f60\u786e\u4fe1\u5b89\u88c5\u4e86git\uff0ccmd\u4e2d\u4e5f\u786e\u5b9e\u80fd\u8fd0\u884cgit\uff0c\u5219\u5c1d\u8bd5\u91cd\u542f\u7535\u8111\u3002"),(0,n.kt)("h3",{id:"installer\u70b9\u51fb\u5b89\u88c5\u51fa\u73b0git\u4e0d\u662f\u5185\u90e8\u6216\u5916\u90e8\u547d\u4ee4\u4e5f\u4e0d\u662f\u53ef\u8fd0\u884c\u7684\u7a0b\u5e8f"},"Installer\u70b9\u51fb\u5b89\u88c5\u51fa\u73b0\uff1agit\u4e0d\u662f\u5185\u90e8\u6216\u5916\u90e8\u547d\u4ee4\uff0c\u4e5f\u4e0d\u662f\u53ef\u8fd0\u884c\u7684\u7a0b\u5e8f"),(0,n.kt)("p",null,"\u540c\u4e0a\u3002"),(0,n.kt)("h3",{id:"\u4f7f\u7528installer\u5b89\u88c5\u65f6\u53d1\u751f-directorynotfoundexception-counld-not-find-a-part-of-the-path-xxx"},"\u4f7f\u7528Installer\u5b89\u88c5\u65f6\u53d1\u751f DirectoryNotFoundException: Counld not find a part of the path 'xxx'"),(0,n.kt)("p",null,"\u6709\u51e0\u79cd\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u51fa\u9519\u76ee\u5f55\u4e0d\u5b58\u5728\uff0c\u5219\u56e0\u4e3a\u7f51\u7edc\u6216\u8005\u5404\u79cd\u539f\u56e0\uff0cgit clone hybridclr\u6216il2cpp_plus\u4ed3\u5e93\u5931\u8d25\u4e86\u3002 \u6b64\u65f6\u4f60\u53ef\u4ee5\u91cd\u8bd5\u51e0\u6b21\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u51fa\u9519\u76ee\u5f55\u5b58\u5728\uff0c\u5219\u56e0\u4e3a\u8def\u5f84\u957f\u5ea6\u8d85\u8fc7256\u5b57\u7b26\u5bfc\u81f4\u3002\u8bf7\u907f\u514d\u8fc7\u6df1\u7684\u76ee\u5f55\u3002")),(0,n.kt)("h3",{id:"\u4f7f\u7528installer\u5b89\u88c5\u65f6\u63d0\u793amonocompilerservicessymbolwriterdll-path-is-too-long-copy-ignore"},"\u4f7f\u7528Installer\u5b89\u88c5\u65f6\u63d0\u793aMono.CompilerServices.SymbolWriter.dll path is too long. copy ignore!"),(0,n.kt)("p",null,"MonoBleedingEdge\u5728installer\u4e2d\u4f1a\u88ab\u590d\u5236\u5230 HybridCLrData\uff0c \u4f46\u8fd9\u4e2a\u76ee\u5f55\u4e2d\u7684 lib\\mono\u76ee\u5f55\u5176\u5b9e\u662f\u6ca1\u6709\u7528\u5230\u7684\uff0c\u6240\u4ee5\u662f\u6ca1\u6709\u5f71\u54cd\u7684\u3002"),(0,n.kt)("h3",{id:"exception-regionunity_config-start-not-find"},"Exception. region:UNITY_CONFIG start not find"),(0,n.kt)("p",null,"hybridclr_unity\u7248\u672c\u8fc7\u4f4e\u3002\u8bf7\u5347\u7ea7\u6700\u65b0\u7248\u672c\u3002"),(0,n.kt)("h3",{id:"exception-regionplace_holder-start-not-find"},"Exception. region:PLACE_HOLDER start not find"),(0,n.kt)("p",null,"com.code-philosophy.hybridclr\u4e3a\u8f83\u65b0\u7248\u672c\uff0c\u4f46hybridclr\u4ee3\u7801\u592a\u65e7\u5bfc\u81f4\u3002"),(0,n.kt)("p",null,"\u8981\u6c42\u4f60\u7684 hybridclr\u53cail2cpp_plus\u5fc5\u987b\u662fmain\u5206\u652f\uff0c\u5e76\u4e14\u66f4\u65b0\u5230\u6700\u65b0\u3002"),(0,n.kt)("h3",{id:"exception-regionxxxxxx-start-not-find"},"Exception. region:XXXXXX start not find"),(0,n.kt)("p",null,"com.code-philosophy.hybridclr \u4e0e hybridclr\u53cail2cpp_plus\u7248\u672c\u4e0d\u5339\u914d\u5bfc\u81f4\u3002"),(0,n.kt)("p",null,"\u8981\u6c42\u76f8\u540c\u7248\u672c\u5206\u652f\uff0c\u5e76\u4e14\u540c\u65f6\u66f4\u5230\u6700\u65b0\uff08\u6216\u8005\u76f8\u5339\u914d\u7684\u7248\u672c\uff0c\u4f46\u5927\u591a\u6570\u4eba\u5f88\u96be\u77e5\u9053\u54ea\u4e2a\u662f\u76f8\u5339\u914d\u7684\u7248\u672c\uff09\u3002"),(0,n.kt)("h3",{id:"\u8fd0\u884c-hybridclrgeneratexxx-\u65f6\u53d1\u751f-exception-resolve-assembly-yyyassembly-fail"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"h3"},"HybridCLR/generate/xxx")," \u65f6\u53d1\u751f ",(0,n.kt)("inlineCode",{parentName:"h3"},"Exception: resolve assembly: yyyAssembly fail")),(0,n.kt)("p",null,"\u5982\u679c yyyAssembly\u4e3a",(0,n.kt)("inlineCode",{parentName:"p"},"netstandard"),"\uff0c\u5219\u56e0\u4e3a\u9879\u76ee\u4e2d\u6709\u7a0b\u5e8f\u96c6\u5f15\u7528\u4e86.net standard\uff0c\u6709\u51e0\u79cd\u65b9\u5f0f\u4f1a\u5f15\u8d77\u8fd9\u79cd\u9519\u8bef\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"Api Compatible Level\u4e3a.net standard\u3002 \u89e3\u51b3\u529e\u6cd5\u4e3a\u5c06\u5b83\u5207\u4e3a .Net 4.x\u6216.Net Framework"),(0,n.kt)("li",{parentName:"ul"},"\u4f60\u9879\u76ee\u4e2d\u4f7f\u7528\u4e86\u67d0\u4e2a\u9884\u7f16\u8bd1\u597d\u7684dll\uff0c\u5b83\u5f15\u7528\u4e86.net standard\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u5c06\u8fd9\u4e2adll\u6362\u6210\u5f15\u7528.net framework\u7684\u7248\u672c")),(0,n.kt)("p",null,"\u5426\u5219\u662f\u56e0\u4e3a\u6ca1\u6709\u627e\u5230\u4f9d\u8d56\u7684AOT\u6216\u8005\u70ed\u66f4\u65b0dll\u3002\u6709\u51e0\u79cd\u539f\u56e0\u5bfc\u81f4\u8fd9\u4e2a\u7ed3\u679c\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u662f\u4ee5dll\u5f62\u5f0f\u653e\u5230\u5de5\u7a0b\u5185\u7684\u70ed\u66f4\u65b0dll\u672a\u627e\u5230\uff0c\u5219\u4f60\u9700\u8981\u5728HybridCLRSettings\u7684\u5916\u90e8dll\u641c\u7d22\u8def\u5f84\u4e2d\u6dfb\u52a0\u5b83\u6240\u5728\u7684\u76ee\u5f55"),(0,n.kt)("li",{parentName:"ul"},"\u4f60\u4ece\u672a\u5728\u4e3b\u5de5\u7a0b\u4e2d\u4f7f\u7528\u8fc7\u8ddf\u8be5dll\u76f8\u5173\u4ee3\u7801\uff0c\u5bfc\u81f4\u5c31\u7b97link.xml\u4e2d\u4fdd\u7559\u4e86\uff0c\u4ecd\u7136\u6574\u4e2a\u88ab\u88c1\u526a\u3002\u89e3\u51b3\u529e\u6cd5\u662f\u5728\u4e3b\u5de5\u7a0b\u4e2d\u968f\u4fbf\u5199\u6bb5\u4ee3\u7801\u5f15\u7528\u8be5dll\u4e2d\u7684\u67d0\u4e2a\u7c7b\u6216\u51fd\u6570\u3002")),(0,n.kt)("h3",{id:"\u8fd0\u884c-hybridclrgeneratexxx-\u65f6\u53d1\u751f-nullreferenceexception-hybridclreditorabitypecreatorbasecreatetypeinfo-"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"h3"},"HybridCLR/generate/xxx")," \u65f6\u53d1\u751f ",(0,n.kt)("inlineCode",{parentName:"h3"},"NullReferenceException. HybridCLR.Editor.ABI.TypeCreatorBase.CreateTypeInfo ...")),(0,n.kt)("p",null,"\u5982\u679c\u4f60\u7684com.code-philosophy.hybridclr package\u7248\u672c\u4f4e\u4e8e 1.1.6,\u5219\u56e0\u4e3a\u4f60\u7684\u9879\u76ee\u4e2d\u5b58\u5728 mscorlib.dll\u3001System.Memory.dll\u3001UnityEngine.dll\u7b49\u8ddf\u7cfb\u7edfdll\u91cd\u540d\u7684\u51b2\u7a81dll\uff0c\u5bfc\u81f4\u89e3\u6790dll\u65f6\u9519\u8bef\u5730\u8bfb\u53d6\u4e86\u8fd9\u4e9bdll\uff0c\u8fdb\u800c\u53d1\u751f\u9519\u8bef\u3002"),(0,n.kt)("p",null,"\u5982\u679c\u7248\u672c >= 1.1.6, \u7531\u4e8e\u751f\u6210\u6865\u63a5\u51fd\u6570\u9700\u8981\u4f9d\u8d56\u88c1\u51cf\u540e\u7684AOT dll\uff0c\u800c\u4f60\u7684AOT dll\u662f\u65e7\u7684\uff0c\u5bfc\u81f4\u70ed\u66f4\u65b0\u4ee3\u7801\u4e2d\u4f9d\u8d56\u7684\u7c7b\u578b\u5728AOT dll\u4e2d\u56e0\u4e3a\u5378\u8f7d\u800c\u7f3a\u5931\u4e86\u3002\u56e0\u6b64\u4f60\u9700\u8981\u5148 ",(0,n.kt)("inlineCode",{parentName:"p"},"generate/linkxml"),"\uff0c\u518dbuild\u6216\u8005\u5bfc\u51fa\u5de5\u7a0b\u4ee5\u751f\u6210\u88c1\u526a\u540e\u7684aot dll\uff0c\u518d\u8fd0\u884c\u4f60\u5f53\u524d\u7684 ",(0,n.kt)("inlineCode",{parentName:"p"},"generate/xxx")," \u547d\u4ee4\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305ios\u7248\u672c\u65f6\u672a\u751f\u6210-assembliespostil2cppstrip-\u76ee\u5f55"},"\u6253\u5305iOS\u7248\u672c\u65f6\u672a\u751f\u6210 AssembliesPostIl2CppStrip \u76ee\u5f55"),(0,n.kt)("p",null,"\u5347\u7ea7com.code-philosophy.hybridclr\u7248\u672c\u5230v2.0.0\u4ee5\u4e0a\u3002"),(0,n.kt)("h3",{id:"buildfailedexceptoin-build-path-contains-a-project-prevously-built-without-the-create-visual-studio-solution"},'BuildFailedExceptoin: Build path contains a project prevously built without the "Create Visual Studio Solution"'),(0,n.kt)("p",null,"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"p"},"generate/all"),"\u6216\u8005",(0,n.kt)("inlineCode",{parentName:"p"},"generate/AOTDlls"),"\u65f6\uff0c\u4f1a\u5c1d\u8bd5\u8fdb\u884c\u5bfc\u51fa\u5de5\u7a0b\u4ee5\u83b7\u5f97\u88c1\u526a\u540e\u7684aot dll\u3002\u5982\u679c\u4f60\u7684\u9879\u76ee\u4e4b\u524d\u6253\u5305\u65f6\u5173\u95ed\u4e86 ",(0,n.kt)("inlineCode",{parentName:"p"},"Create Visual Studio Solution")," \u9009\u9879\uff0c\u5219Unity Editor\u81ea\u8eab\u539f\u56e0\uff0c\u4e00\u5b9a\u6982\u7387\u4e0b\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u9519\u8bef\u3002"),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\u662f\u6e05\u7a7a Library\u548cTemp\u4e0b\u7684 il2cpp \u76f8\u5173\u7f13\u5b58\u76ee\u5f55\uff0c\u6216\u8005\u7b80\u5355\u7c97\u66b4\u5220\u9664\u8fd9\u4e24\u4e2a\u76ee\u5f55\u3002"),(0,n.kt)("p",null,"\u5982\u679c\u8fd8\u662f\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\uff0c\u4f60\u5b8c\u5168\u53ef\u4ee5\u81ea\u5df1\u624b\u52a8build\u4e00\u6b21\u5de5\u7a0b\u6765\u751f\u6210aot dll\uff0c\u7136\u540e\u8df3\u8fc7 ",(0,n.kt)("inlineCode",{parentName:"p"},"generate/AOTDlls"),"\u8fd9\u4e00\u6b65\u3002"),(0,n.kt)("h2",{id:"\u6253\u5305\u65f6\u53d1\u751f\u9519\u8bef"},"\u6253\u5305\u65f6\u53d1\u751f\u9519\u8bef"),(0,n.kt)("h3",{id:"currently-selected-scripting-backend-il2cpp-is-not-installed"},"Currently selected scripting backend (IL2CPP) is not installed"),(0,n.kt)("p",null,"\u8bf7\u5728Unity Hub\u5b89\u88c5il2cpp\u6a21\u5757\u3002\u64cd\u4f5c\u65b9\u5f0f\u4e3a\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u5207\u5230UnityHub\u5de6\u4fa7\u7684 Installers \u6807\u7b7e\u9875"),(0,n.kt)("li",{parentName:"ul"},"\u4f60\u5728\u5f53\u524d\u4f7f\u7528\u7684Unity\u7248\u672c\u4e0a ",(0,n.kt)("inlineCode",{parentName:"li"},"\u53f3\u952e -> Add Modules"),"\uff0c\u9009\u4e2d\u5f53\u524d\u5e73\u53f0\u7684IL2CPP\u7ec4\u4ef6\uff0c\u4f8b\u5982Win\u5e73\u53f0\u9009 ",(0,n.kt)("inlineCode",{parentName:"li"},"Windows Build Support(Il2CPP)")),(0,n.kt)("li",{parentName:"ul"},"\u5b89\u88c5"),(0,n.kt)("li",{parentName:"ul"},"\u91cd\u65b0\u6253\u5f00Unity Editor")),(0,n.kt)("h3",{id:"exception-c-code-bulider-is-unable-to-build-c-code-inorder-to-build-c-code-for-windows-destop-you-must-have-one-of-these-installed-xxxxx"},"`Exception: C++ code bulider is unable to build C+ code. Inorder to build C++ code for Windows Destop, You must have one of these installed. xxxxx"),(0,n.kt)("p",null,"\u4f60\u6ca1\u6709\u5b89\u88c5 vs \u53ca win 10 sdk\u3002\u8bf7\u5b89\u88c5vs\uff0c\u5e76\u4e14\u5728 Visutal Studio Installer\u4e2d\u5b89\u88c5 ",(0,n.kt)("inlineCode",{parentName:"p"},"\u4f7f\u7528c++\u7684\u6e38\u620f\u5f00\u53d1")," \u8fd9\u4e2a\u7ec4\u4ef6\u3002 win 10 sdk\u9009\u6700\u65b0\u7684\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u9047\u5230-undefined-symbols-for-architecture-arm64--_objc_msgsendinitwithname-referenced-from------il2cppostimezoneinfogettimezonedataforid"},'\u9047\u5230 Undefined symbols for architecture arm64: "_objc_msgSend$initWithName:", referenced from: il2cpp::os::TimeZoneInfo::GetTimeZoneDataForID'),(0,n.kt)("p",null,"xcode\u7248\u672c\u592a\u65e7\u5bfc\u81f4\u3002\u66f4\u65b0\u5230\u8f83\u65b0\u7248\u672c\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305\u51fa\u73b0-undefined-symbols-runtimeapi_loadmetadataforaotassembly-\u6216-hybridclrapi_loadmetadataforaotassembly"},"\u6253\u5305\u51fa\u73b0 Undefined symbols\uff1a RuntimeApi_LoadMetadataForAOTAssembly \u6216 hybridclrApi_LoadMetadataForAOTAssembly"),(0,n.kt)("p",null,"\u6839\u672c\u539f\u56e0\u662f\u56e0\u4e3a\u4f60\u4f7f\u7528\u7684\u662f\u539f\u59cblibil2cpp\u4ee3\u7801\uff0c\u6709\u51e0\u4e2a\u60c5\u5f62\u4f1a\u5bfc\u81f4\u8fd9\u4e2a\u7ed3\u679c\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"Scripting Backend \u9519\u8bef\u9009\u62e9\u4e86 Mono"),(0,n.kt)("li",{parentName:"ul"},"\u5f00\u542f\u4e86",(0,n.kt)("inlineCode",{parentName:"li"},"\u5168\u5c40\u5b89\u88c5"),"\u9009\u9879\uff0c\u4f46\u6ca1\u6709\u6b63\u786e\u66ff\u6362Editor\u5b89\u88c5\u76ee\u5f55\u7684libil2cpp"),(0,n.kt)("li",{parentName:"ul"},"com.code-philosophy.hybridclr\u7684\u7248\u672c\u4f4e\u4e8ev3.1.0\uff0c\u540c\u65f6\u6ca1\u6709\u66ff\u6362xcode\u5de5\u7a0b\u7684libil2cpp.a\u6587\u4ef6\u3002\u8bf7\u6839\u636e ",(0,n.kt)("a",{parentName:"li",href:"/docs/basic/buildpipeline"},"build iOS libil2cpp.a")," \u6587\u6863\u7f16\u8bd1\u6700\u65b0\u7684\u3002\u7136\u540e\u66ff\u6362xcode\u9879\u76ee\u4e2d\u7684libil2cpp.a\u6587\u4ef6")),(0,n.kt)("h3",{id:"building-librarybeeartifactsxxxx-failed-with-output-fatalerror-in-unitiy-cil-linker-monocecilassemblyresolutionexception-failed-to-resolve-assemblyxxx"},"Building Library/Bee/artifacts/xxxx failed with output: Fatalerror in Unitiy CIL Linker Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly:'xxx'"),(0,n.kt)("p",null,"\u4f60\u5931\u8bef\u5730\u5728\u4e3b\u5de5\u7a0b\u91cc\u5f15\u7528 'xxx' \u8fd9\u4e2a\u70ed\u66f4\u65b0dll\u3002 \u5982\u679c\u4f60\u627e\u4e0d\u5230\u5230\u5e95\u54ea\u513f\u5f15\u7528\u7684\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u5148\u5220\u6389 'xxx' \u8fd9\u4e2a\u70ed\u66f4\u65b0\u6a21\u5757\uff0c\u6839\u636e\u7f16\u8bd1\u9519\u8bef\u6765\u5b9a\u4f4d\u3002"),(0,n.kt)("h3",{id:"webgl\u5e73\u53f0\u6253\u5305\u65f6\u9047\u5230-undefine-symbol-send-file-\u4e4b\u7c7b\u7684\u9519\u8bef"},"WebGL\u5e73\u53f0\u6253\u5305\u65f6\u9047\u5230 undefine symbol: send file \u4e4b\u7c7b\u7684\u9519\u8bef"),(0,n.kt)("p",null,"\u8fd9\u4e2a\u9519\u8bef\u8ddfHybridCLR\u65e0\u5173\u3002 \u8fd9\u662f\u56e0\u4e3aWebGL\u5bf9\u5f88\u591a\u51fd\u6570\u6709\u9650\u5236\uff0c\u6bd4\u5982\u8bf4send file\u7b26\u53f7\u4e22\u5931\u662f\u56e0\u4e3a\u4e0d\u80fd\u8c03\u7528IO\u76f8\u5173\u51fd\u6570\u3002\u9047\u5230\u95ee\u9898\u8bf7\u81ea\u5df1\u5254\u9664\u90a3\u4e9bWebGL\u5e73\u53f0\u4e0d\u652f\u6301\u51fd\u6570\u3002\u5177\u4f53\u81ea\u5df1\u9605\u8bfbUnity\u6587\u6863\u3002"),(0,n.kt)("h3",{id:"win-\u4e0b-\u6253\u5305\u65f6\u9047\u5230-xxxxil2cpplibil2cpputilsil2cpphashmaph71-error-c2039-hash_compare-is-not-a-member-of-stdext"},"Win \u4e0b \u6253\u5305\u65f6\u9047\u5230 ",(0,n.kt)("inlineCode",{parentName:"h3"},"xxxx\\\\il2cpp\\\\libil2cpp\\\\utils\\\\Il2CppHashMap.h(71): error C2039: 'hash_compare': is not a member of 'stdext'")),(0,n.kt)("p",null,"\u8fd9\u662f.net 7\u53d1\u5e03\u540e\u6700\u65b0\u7248\u672cvs\u6539\u52a8\u6253\u7834\u4e86\u4e00\u4e9b\u5411\u540e\u517c\u5bb9\u6027\u5f15\u8d77\u3002com.code-philosophy.hybridclr ",(0,n.kt)("inlineCode",{parentName:"p"},"v2.4.0"),"\u7248\u672c\u5df2\u7ecf\u5b8c\u5168\u89e3\u51b3\u4e86\u6b64\u95ee\u9898\u3002\u4f60\u53ef\u4ee5\u5347\u7ea7\u5230\u6b64\u7248\u672c\u6216\u8005\u56de\u9000\u5230visual studio 2022\u7684\u65e7\u7248\u672c\u6216\u8005\u4f7f\u75282019\u4e4b\u7c7b\u7684\u7248\u672c\u3002"),(0,n.kt)("p",null,"\u4e00\u79cd\u4e0d\u9700\u8981\u56de\u9000vs\u7248\u672c\u7684\u89e3\u51b3\u529e\u6cd5\u662f\u4fee\u6539 ",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLRData/LocalIl2CppData-{platform}/il2cpp/external/google/sparsehash/internal/sparseconfig.h"),"\uff0c\u65b0\u589e ",(0,n.kt)("inlineCode",{parentName:"p"},"#define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS")," \u5373\u53ef\u3002\u53ef\u53c2\u7167\u4e0b\u56fe\u4fee\u6539\u3002"),(0,n.kt)("p",null,(0,n.kt)("img",{alt:"stdext_error",src:i(3508).Z,width:"1641",height:"404"})),(0,n.kt)("p",null,"\u5176\u4ed6\u89e3\u51b3\u529e\u6cd5\u53c2\u89c1",(0,n.kt)("a",{parentName:"p",href:"https://forum.unity.com/threads/workaround-for-building-with-il2cpp-with-visual-studio-2022-17-4.1355570/"},"\u94fe\u63a5")),(0,n.kt)("h3",{id:"fatal-error-icallsmscorlibsystemmonotypeh-file-not-found-include-icallsmscorlibsystemmonotypeh"},"fatal error: 'icalls/mscorlib/System/MonoType.h' file not found #include \"icalls/mscorlib/System/MonoType.h\""),(0,n.kt)("p",null,"\u4f60\u6ca1\u6709\u751f\u6210\u6b63\u786e\u7684\u7248\u672c\u5b8f\uff0c\u8bf7\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Generate/All")," \u540e\u518d\u6253\u5305\u3002"),(0,n.kt)("h3",{id:"internal-build-system-error-buildprogram-exited-with-code--2147024894"},"Internal build system error. BuildProgram exited with code -2147024894."),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-text"},"Internal build system error. BuildProgram exited with code -2147024894.\nSystem.IO.FileNotFoundException: Could not load file or assembly 'Unity.IL2CPP.Bee.BuildLogic.WindowsDesktop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. \nFile name: 'Unity.IL2CPP.Bee.BuildLogic.WindowsDesktop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'\n")),(0,n.kt)("p",null,"\u8fd9\u662f\u56e0\u4e3a\u4f60Installer\u4e2d\u5b89\u88c5\u540e\u5207\u6362\u4e86Unity\u9879\u76ee\u7684\u7248\u672c\uff0c\u5bfc\u81f4Build Tool\u4e0d\u5339\u914d\u5bfc\u81f4\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u5728",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Installer..."),"\u4e2d\u91cd\u65b0\u5b89\u88c5\u4e00\u6b21\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0-directorynotfoundexception-xxxxlibrarybeeartifactsyyyymanagedstripted-\u9519\u8bef"},"\u6253\u5305\u65f6\u51fa\u73b0 DirectoryNotFoundException: xxxx\\Library\\Bee\\artifacts\\yyyy\\ManagedStripted \u9519\u8bef"),(0,n.kt)("p",null,"\u4f60\u9519\u8bef\u5730\u8bbe\u7f6e Scripting BackEngine \u4e3a mono\u5bfc\u81f4\u7684\u3002\u6709\u65f6\u5019\u4f60\u5c3d\u7ba1\u4e4b\u524d\u5df2\u7ecf\u5207\u5230il2cpp\u4e86\uff0c\u4f46\u5207\u6362\u5e73\u53f0\u65f6\u4ecd\u7136\u53ef\u80fd\u88abEditor\u91cd\u7f6e\u4e3amono\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u5207\u6362\u5230il2cpp\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305webgl\u5e73\u53f0\u65f6\u51fa\u73b0-directorynotfoundexception-xxxhybridclrdatalocalil2cppdata-yyyil2cppil2cpp-deps--\u9519\u8bef"},"\u6253\u5305WebGL\u5e73\u53f0\u65f6\u51fa\u73b0 DirectoryNotFoundException: xxx\\HybridCLRData\\LocalIl2CppData-{yyy}\\il2cpp\\il2cpp-deps \u9519\u8bef"),(0,n.kt)("p",null,"WebGL\u5fc5\u987b\u4f7f\u7528\u5168\u5c40\u5b89\u88c5\uff0c\u5373 HybridCLRSettings\u4e2duseGlobal\u4e3atrue\u3002 \u5207\u8bb0\u6bcf\u6b21",(0,n.kt)("inlineCode",{parentName:"p"},"Generate/xxx"),"\u4e4b\u540e\u5fc5\u987b\u91cd\u65b0\u5c06",(0,n.kt)("inlineCode",{parentName:"p"},"{project}/HybridCLRData/LocalIl2CppData-{platform}/il2cpp/libil2cpp"),"\n\u76ee\u5f55\u590d\u5236\u5230Editor\u5b89\u88c5\u76ee\u5f55\uff0c\u518d\u6253\u5305\u3002\u5426\u5219\u6709\u53ef\u80fd\u4f1a\u51fa\u73b0 Scripting Missing\u6216\u8005\u6865\u63a5\u51fd\u6570\u7f3a\u5931\u4e4b\u7c7b\u7684\u9519\u8bef\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0-gc_set_mark_stck_empty-\u51fd\u6570\u627e\u4e0d\u5230\u6216\u8005\u7b7e\u540d\u4e0d\u5339\u914d\u7684\u9519\u8bef"},"\u6253\u5305\u65f6\u51fa\u73b0 GC_set_mark_stck_empty \u51fd\u6570\u627e\u4e0d\u5230\u6216\u8005\u7b7e\u540d\u4e0d\u5339\u914d\u7684\u9519\u8bef"),(0,n.kt)("p",null,"\u8fd9\u662f\u81eaUnity2021.3.20\u8d77\u4fee\u6539\u4e86\u8fd9\u4e2a\u51fd\u6570\u7b7e\u540d\u5f15\u53d1\u7684\u95ee\u9898\u3002\u66f4\u65b0\u5230com.code-philosophy.hybridclr 2.0.10+ \u7248\u672c\uff0c\u91cd\u65b0install\u5373\u53ef\u89e3\u51b3\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305webgl\u5e73\u53f0\u51fa\u73b0-buildjs-undefined-symbol-runtimeapi_loadmetadataforaotassembly-referenced-by-top-level-compiled-cc-code"},"\u6253\u5305WebGL\u5e73\u53f0\u51fa\u73b0 ",(0,n.kt)("inlineCode",{parentName:"h3"},"build.js: undefined symbol: RuntimeApi_LoadMetadataForAOTAssembly (referenced by top-level compiled C/C++ code)")),(0,n.kt)("p",null,"WebGL\u4f7f\u7528\u5168\u5c40\u5b89\u88c5\uff0c\u4f60\u6ca1\u6709\u5c06\u672c\u5730",(0,n.kt)("inlineCode",{parentName:"p"},"{project}/HybridCLRData/LocalIl2CppData-{platform}/il2cpp/libil2cpp"),"\u66ff\u6362Editor\u5b89\u88c5\u76ee\u5f55\u7684\u539f\u59cblibil2cpp\uff0c\u5bfc\u81f4\u7f3a\u5931\u4e86\u51fd\u6570\u3002\u89e3\u51b3\u529e\u6cd5\u662f\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u8fd0\u884c",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/Il2cppDef"),"\u751f\u6210\u6b63\u786e\u7684\u7248\u672c\u5b8f"),(0,n.kt)("li",{parentName:"ul"},"\u590d\u5236 ",(0,n.kt)("inlineCode",{parentName:"li"},"{project}/HybridCLRData/LocalIl2CppData-{platform}/il2cpp/libil2cpp")," \u66ff\u6362Editor\u5b89\u88c5\u76ee\u5f55\u7684\u539f\u59cblibil2cpp\u3002\u6ce8\u610f\u5fc5\u987b\u662f\u66ff\u6362\u76ee\u5f55\uff0c\u800c\u4e0d\u662f\u5408\u5e76\u76ee\u5f55\uff0c\u8fd9\u4e2a\u53ef\u80fd\u4f1a\u5bfc\u81f4\u591a\u4e86\u4e00\u4e9b\u6587\u4ef6\u800c\u7f16\u8bd1\u51fa\u9519\u3002\n\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528\u521b\u5efa\u8f6f\u94fe\u63a5\u7684\u65b9\u5f0f\uff0c\u8be6\u7ec6\u8bf7\u770b",(0,n.kt)("a",{parentName:"li",href:"/docs/basic/install"},"\u5b89\u88c5HybridCLR"),"\u4e2d\u5173\u4e8e\u5168\u5c40\u5b89\u88c5\u7684\u6587\u6863\u3002")),(0,n.kt)("h3",{id:"\u6253\u5305webgl\u5e73\u53f0\u70b9\u51fbgenerateall\u53d1\u751f\u9519\u8bef"},"\u6253\u5305WebGL\u5e73\u53f0\u70b9\u51fb",(0,n.kt)("inlineCode",{parentName:"h3"},"Generate/All"),"\u53d1\u751f\u9519\u8bef"),(0,n.kt)("p",null,"\u6709\u4e24\u4e2a\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u6ca1\u6709\u66ff\u6362\u5168\u5c40\u5b89\u88c5\u4f4d\u7f6e\u7684libil2cpp\u6216\u8005\u521b\u5efa\u5176\u8f6f\u94fe\u63a5"),(0,n.kt)("li",{parentName:"ul"},"\u4f60\u4f7f\u7528\u4e86com.code-philosophy.hybridclr 2.1.0\u6216\u66f4\u9ad8\u7248\u672c\uff0c\u5728\u66ff\u6362\u5168\u5c40libil2cpp\u524d\u6ca1\u6709\u5148\u8fd0\u884c\u4e00\u6b21",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/Il2cppDef"),"\uff0c\u5bfc\u81f4\u6ca1\u6709\u6b63\u786e\u751f\u6210\u7248\u672c\u5b8f\uff0c\u8fdb\u800c\u5f15\u53d1\u7f16\u8bd1\u9519\u8bef\u3002")),(0,n.kt)("h3",{id:"\u6253\u5305\u51fa\u73b0-error-not-support-unity-version"},"\u6253\u5305\u51fa\u73b0 ",(0,n.kt)("inlineCode",{parentName:"h3"},'#error: "not support unity version"')),(0,n.kt)("p",null,"\u6709\u51e0\u79cd\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u4f60\u4f7f\u7528\u4e86 \u4f4e\u4e8e2019\u6216\u8005\u9ad8\u4e8e2021\u7684\u7248\u672c\uff0c\u8fd9\u4e9b\u7248\u672c\u76ee\u524d\u672a\u88ab\u652f\u6301"),(0,n.kt)("li",{parentName:"ul"},"\u4f60\u6253\u5305\u524d\u672a\u8fd0\u884c",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/All"),"\u6216\u8005",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/Il2CppDef"),"\uff0c\u5bfc\u81f4\u672a\u751f\u6210Unity\u7248\u672c\u5b8f")),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0-could-not-find-a-part-of-path-xxxxhybridclrgeneratedunityversionh"},'\u6253\u5305\u65f6\u51fa\u73b0 \'could not find a part of path "xxxx/hybridclr/generated/UnityVersion.h"'),(0,n.kt)("p",null,"\u4f60\u66f4\u65b0 com.code-philosophy.hybridclr\u5305\u540e\u672a\u91cd\u65b0install\uff0c\u5bfc\u81f4\u672c\u5730lil2cpp\u76ee\u5f55\u4ee3\u7801\u8fc7\u65e7\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305\u91cc\u53d1\u73b0-undefined-symbols-for-architecture-arm64-il2cpputilsdebuggerxxxxx"},'\u6253\u5305\u91cc\u53d1\u73b0 "Undefined symbols for architecture arm64: "il2cpp::utils::Debugger::xxxxx"'),(0,n.kt)("p",null,"\u539f\u56e0\u662f build_libil2cpp.sh\u6253\u5305\u51fa\u7684 libil2cpp.a\u662frelease\u6a21\u5f0f\u7684\uff0c\u4e0edevelopment\u6a21\u5f0f\u7684\u5de5\u7a0b\u4e00\u8d77\u7f16\u8bd1\u65f6\u4f1a\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\u3002"),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\u662f\u53bb\u6389development build\u9009\u9879\uff0c\u6216\u8005\u8bf4\u81ea\u5df1\u4fee\u6539 build_libil2cpp.sh\uff0c\u6253\u5305\u51fa debug\u6a21\u5f0f\u7684libil2cpp.a"),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0-error-undefined-reference-to-systemnative-converterrorpaltoplatform"},"\u6253\u5305\u65f6\u51fa\u73b0 ",(0,n.kt)("inlineCode",{parentName:"h3"},"error: undefined reference to 'SystemNative-ConvertErrorPalToPlatform'")),(0,n.kt)("p",null,"\u4f60\u7528\u7684Unity\u7248\u672c\u6bd4\u8f83\u9ad8\uff0clibil2cpp\u65b0\u589e\u4e86\u4e00\u4e9b\u51fd\u6570\u3002\u800c\u4f60\u4f7f\u7528\u7684hybridclr\u7248\u672c\u592a\u4f4e\uff0c\u6ca1\u6709\u5305\u542b\u8fd9\u4e9b\u9ad8\u7248\u672c\u7684\u51fd\u6570\u3002"),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\uff1a\u5347\u7ea7hybridclr\u7248\u672c\uff0c\u91cd\u65b0install\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0-buildfailedexception-you-must-run-hybridclrinstaller-after-upgrading-package"},"\u6253\u5305\u65f6\u51fa\u73b0 ",(0,n.kt)("inlineCode",{parentName:"h3"},"BuildFailedException: You must run "),"HybridCLR/Installer",(0,n.kt)("inlineCode",{parentName:"h3"}," after upgrading package")),(0,n.kt)("p",null,"\u5347\u7ea7package\u540e\u672a\u6267\u884cInstall\u3002\u5728",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Installer"),"\u4e2d\u5b89\u88c5\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u51fa\u73b0-il2cpp_pop_active_exception-\u76f8\u5173\u7f16\u8bd1\u9519\u8bef"},"\u51fa\u73b0 IL2CPP_POP_ACTIVE_EXCEPTION \u76f8\u5173\u7f16\u8bd1\u9519\u8bef"),(0,n.kt)("p",null,"\u56e0\u4e3a2021.3.31\u548c2022.3.11\u7248\u672c\u8d77\uff0c\u4fee\u6539\u4e86\u8be5\u5b8f\u5b9a\u4e49\uff0c\u5bfc\u81f4\u5728\u65e7\u7248\u672chybridclr\u4e0a\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u5347\u7ea7\u5230\u6700\u65b0hybridclr\u7248\u672c\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\u901a\u7528\u5904\u7406\u529e\u6cd5"},"\u6253\u5305\u65f6\u51fa\u73b0\u7f16\u8bd1\u9519\u8bef\uff0c\u901a\u7528\u5904\u7406\u529e\u6cd5"),(0,n.kt)("p",null,"\u5f88\u5927\u7a0b\u5ea6\u662f\u4f60\u7684package \u548c hybridclr c++\u4ee3\u7801\u7248\u672c\u4e0d\u5339\u914d\u5bfc\u81f4\u7684\u6216\u8005\u4f60\u7684Unity\u7248\u672c\u592a\u65b0\uff0chybridclr\u6682\u672a\u652f\u6301\u3002 \u4f60\u9700\u8981\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u66f4\u65b0com.code-philosophy.hybridclr\u5230\u6700\u65b0\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/installer...")," \u91cc\u5b89\u88c5\u6700\u65b0\u7248\u672c"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/generate/all")," \u751f\u6210\u6240\u6709"),(0,n.kt)("li",{parentName:"ul"},"\u6253\u5305")),(0,n.kt)("h3",{id:"\u6253\u5305\u65f6\u51fa\u73b0buildingbuilderfailedexceptionin-file-included-from-xxxhybridclrdatalocalil2cppdata-platformil2cpp"},"\u6253\u5305\u65f6\u51fa\u73b0Building.BuilderFailedException:In file included from xxx\\HybridCLRData\\LocalIl2CppData-{platform}\\il2cpp"),(0,n.kt)("p",null,"\u5982\u679c\u4f60\u7684\u7248\u672c\u4e3a 2020.3.0-2020.3.25\uff0c \u5728Installer\u4e2d\u5b8c\u6210\u5b89\u88c5\u540e\uff0c\u4ece2020.3.26+\u4efb\u4e00\u7248\u672c\u7684\u5b89\u88c5\u76ee\u5f55\u590d\u5236",(0,n.kt)("inlineCode",{parentName:"p"},"2020.3.x/Editor/Data/il2cpp/external"),"\u66ff\u6362 ",(0,n.kt)("inlineCode",{parentName:"p"},"{project}/HybridCLRData/LocalIl2CppData-{platform}/il2cpp/external")),(0,n.kt)("h2",{id:"\u8fd0\u884c\u65f6\u9519\u8bef"},"\u8fd0\u884c\u65f6\u9519\u8bef"),(0,n.kt)("h3",{id:"entrypointnotfoundexception-unable-to-find-entry-point-named-runtimeapi_loadmetadataforaotassembly-in-gameassembly"},"EntryPointNotFoundException. Unable to find entry point named 'RuntimeApi_LoadMetadataForAOTAssembly' in 'GameAssembly`"),(0,n.kt)("p",null,"\u6709\u51e0\u79cd\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u4f60\u5f53\u524d\u7684scripting backend\u4e3amono\uff0c\u8bf7\u5207\u6362\u5230il2cpp\u3002\u6709\u65f6\u5019\u56e0\u4e3a\u7f13\u5b58\u539f\u56e0\uff0c\u5373\u4f7f\u5207\u6362\u4e86\u4ecd\u7136\u4f1a\u6709\u9519\u8bef\uff0c\u8bf7\u6e05\u7a7aLibraries\u76ee\u5f55\u540e\u518d\u8bd5\u4e00\u6b21\u3002"),(0,n.kt)("li",{parentName:"ul"},"HybridCLRSettings\u91cc\u5f00\u542f\u4e86\u5168\u5c40\u5b89\u88c5\u3002")),(0,n.kt)("h3",{id:"a-scripted-object-probably-xxx-has-a-different-serialization-layout-when-loading-did-you-ifdef-unity_editor-a-section-of-your-serialized-properties-in-any-of-your-scripts"},"A scripted object (probably XXX?) has a different serialization layout when loading. Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?"),(0,n.kt)("p",null,"\u4e3b\u5de5\u7a0b\u7684AOT\u8d44\u6e90\u4e2d\u5f15\u7528\u4e86\u70ed\u66f4\u65b0\u811a\u672c\u4f1a\u5bfc\u81f4\u8fd9\u4e2a\u9519\u8bef\u3002\u4f8b\u5982Resources\u4e0b\u7684\u8d44\u6e90\u5f15\u7528\u4e86\u70ed\u66f4\u65b0\u811a\u672c\u3002"),(0,n.kt)("h3",{id:"\u6302\u8f7d\u5728\u8d44\u6e90\u4e0a\u7684\u811a\u672c\u51fa\u73b0-script-missing-\u9519\u8bef"},"\u6302\u8f7d\u5728\u8d44\u6e90\u4e0a\u7684\u811a\u672c\u51fa\u73b0 Script Missing \u9519\u8bef"),(0,n.kt)("p",null,"\u6709\u51e0\u79cd\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u662fiOS\u5e73\u53f0\uff0c\u6709\u53ef\u80fd\u56e0\u4e3a\u4f60\u5728\u70ed\u66f4\u65b0dll\u5217\u8868\u53d8\u5316\u540e\u672a",(0,n.kt)("inlineCode",{parentName:"li"},"Generate/all"),"\u5e76\u4e14\u91cd\u65b0\u7f16\u8bd1\u548c\u66ff\u6362libil2cpp.a\u6587\u4ef6\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u4f60\u4f7f\u7528Unity 2021\u53ca\u4ee5\u4e0a\u7248\u672c\uff0c\u5e76\u4e14WebGL\u5e73\u53f0\uff0c\u9700\u8981com.code-philosophy.hybridclr\u7248\u672c >= 2.0.9"),(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u662f\u5176\u4ed6\u7248\u672c\u53ca\u5e73\u53f0\uff0c\u7531\u4e8eUnity\u7684\u8d44\u6e90\u7ba1\u7406\u7684\u5b9e\u73b0\u673a\u5236\uff0c\u8d44\u6e90\u5fc5\u987b\u6253\u5305\u4e3aAssetBundle\u624d\u80fd\u6b63\u5e38\u6062\u590d\u70ed\u66f4\u65b0\u811a\u672c\uff0c\u653e\u5230Resource\u4e0b\u4e0d\u884c\u3002\u8be6\u60c5\u8bf7\u770b ",(0,n.kt)("a",{parentName:"li",href:"/docs/basic/monobehaviour"},"MonoBehaviour\u5de5\u4f5c\u6d41"),"\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u5982\u679c\u4f60\u5b89\u88c5\u4e86\u6700\u65b0\u7684main\u5206\u652f\u7684hybridclr\uff0c\u5219\u8981\u6c42com.code-philosophy.hybridclr package\u7248\u672c >= 1.1.17"),(0,n.kt)("li",{parentName:"ul"},"\u52a0\u8f7d\u8d44\u6e90\u65f6\u8fd8\u672a\u52a0\u8f7d\u5bf9\u5e94\u7684\u70ed\u66f4\u65b0\u7a0b\u5e8f\u96c6")),(0,n.kt)("h3",{id:"\u9047\u5230--this-icall-is-not-supported-by-il2cpp-at-systemappdomainload"},'\u9047\u5230 "This icall is not supported by il2cpp at System.AppDomain.Load"'),(0,n.kt)("p",null,"\u6709\u4e24\u79cd\u539f\u56e0"),(0,n.kt)("ol",null,(0,n.kt)("li",{parentName:"ol"},"\u5982\u679cios\u5e73\u53f0\uff0c\u56e0\u4e3aios\u5e73\u53f0\u5e76\u4e0d\u4ece\u6e90\u7801\u7f16\u8bd1libil2cpp\uff0c\u800c\u662f\u4f7f\u9884\u5148\u7f16\u8bd1\u597d\u7684libil2cpp.a\uff0c\u4f60\u9700\u8981\u66ff\u6362xcode\u5de5\u7a0b\u4e2d\u7684libil2cpp.a\u4e3aHybridCLR\u7684\u7f16\u8bd1\u7248\u672c\u3002\u7f16\u8bd1\u65b9\u5f0f\u8bf7\u770b",(0,n.kt)("a",{parentName:"li",href:"/docs/basic/buildpipeline"},"build libil2cpp.a for iOS")),(0,n.kt)("li",{parentName:"ol"},"\u5982\u679c\u662fwebgl\u5e73\u53f0\uff0c\u5219\u56e0\u4e3a\u4f7f\u7528\u5168\u5c40\u5b89\u88c5\u540e\u6ca1\u6709\u66ff\u6362\u5b89\u88c5\u76ee\u5f55\u7684libil2cpp\u6216\u8005\u6ca1\u6709\u5efa\u7acb\u5b89\u88c5\u76ee\u5f55libil2cpp\u5230\u9879\u76ee\u672c\u5730libil2cpp\u7684\u8f6f\u94fe\u63a5\u3002\u8be6\u7ec6\u89c1",(0,n.kt)("a",{parentName:"li",href:"../basic/buildwebgl"},"\u53d1\u5e03WebGL\u5e73\u53f0")),(0,n.kt)("li",{parentName:"ol"},"\u5982\u679c\u5176\u4ed6\u5e73\u53f0\uff0c\u5219\u56e0\u4e3a\u672a\u5b89\u88c5HybridCLR\u3002\u8bf7\u53c2\u7167",(0,n.kt)("a",{parentName:"li",href:"/docs/basic/install"},"\u5b89\u88c5HybridCLR"),"\u6587\u6863\u64cd\u4f5c\u3002")),(0,n.kt)("h3",{id:"\u70ed\u66f4\u65b0\u4e2d\u7269\u7406\u78b0\u649e-collision\u672a\u751f\u6548"},"\u70ed\u66f4\u65b0\u4e2d\u7269\u7406\u78b0\u649e Collision\u672a\u751f\u6548"),(0,n.kt)("p",null,"\u4e00\u822c\u662f\u56e0\u4e3aCollision\u811a\u672c\u53ca\u76f8\u5173\u529f\u80fd\u88ab\u88c1\u526a\u5bfc\u81f4\u7684\u3002\u8bf7\u786e\u4fdd\u76f8\u5173\u811a\u672c\u53cadll\u4e0d\u8981\u88ab\u88c1\u526a\u3002"),(0,n.kt)("h3",{id:"unsupported-internal-call-for-il2cpp-xxxx"},"unsupported internal call for il2cpp. xxxx"),(0,n.kt)("p",null,"\u8c03\u7528\u4e86\u4e00\u4e2aMono\u4e2d\u5b58\u5728\uff0c\u4f46\u5728il2cpp\u672a\u5b9e\u73b0\u7684\u51fd\u6570\u3002\u8bf7\u4fee\u6539\u4ee3\u7801\uff0c\u4e0d\u8981\u4f7f\u7528\u8fd9\u4e9b\u7c7b\u548c\u51fd\u6570\u3002"),(0,n.kt)("h3",{id:"async-\u4ee3\u7801\u7cfb\u7edf\u81ea\u5e26\u6216\u8005unitask\u4e4b\u7c7b\u6253\u5305\u540e\u8fd0\u884c\u65f6\u629b\u51fanullreferenceexception\u6216\u8005\u5d29\u6e83"},"async \u4ee3\u7801\uff08\u7cfb\u7edf\u81ea\u5e26\u6216\u8005UniTask\u4e4b\u7c7b\uff09\u6253\u5305\u540e\u8fd0\u884c\u65f6\u629b\u51faNullReferenceException\u6216\u8005\u5d29\u6e83"),(0,n.kt)("p",null,"\u6709\u51e0\u4e2a\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u5728\u5f02\u6b65\u4ee3\u7801\u4e2d\u629b\u51fa\u5f02\u5e38\uff08\u6bd4\u5982\u6865\u63a5\u51fd\u6570\u5f02\u5e38\u6216\u8005AOT\u6cdb\u578b\u5b9e\u4f8b\u5316\u5f02\u5e38\uff09\uff0c\u5bfc\u81f4\u5f02\u6b65\u4ee3\u7801\u672a\u80fd\u6b63\u786e\u6267\u884c\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a catch \u5f02\u6b65\u4e2d\u7684\u5f02\u5e38\uff0c\u5b9a\u4f4d\u51fa\u5177\u4f53\u7684\u539f\u56e0\uff0c\u518d\u89e3\u51b3"),(0,n.kt)("li",{parentName:"ul"},"\u8865\u5145\u5143\u6570\u636e\u53ca\u6865\u63a5\u51fd\u6570\u4e0e\u6700\u7ec8\u7684\u53d1\u5e03\u5305\u4e0d\u5339\u914d\u3002 \u5f53\u5f00\u542fdevelopment\u9009\u9879\u65f6\u4fbf\u4f1a\u4ea7\u751f\u8fd9\u4e2a\u95ee\u9898\uff1a",(0,n.kt)("inlineCode",{parentName:"li"},"Generate/All"),"\u6216",(0,n.kt)("inlineCode",{parentName:"li"},"Generate/AOTDlls"),"\u751f\u6210\u7684\u662f\u975edevelopment\u6a21\u5f0f\n\u4e0b\u7684aot dll\uff0c\u4e0e\u6253\u5305\u65f6\u751f\u6210\u7684development aot dll\u4e0d\u5339\u914d\uff0c\u8fdb\u4e00\u6b65\u5bfc\u81f4\u8865\u5145\u5143\u6570\u636e\u548c\u751f\u6210\u6865\u63a5\u51fd\u6570\u90fd\u662f\u9519\u8bef\u7684\uff0c\u4e8e\u662f\u5728\u8fd0\u884c\u65f6\u53d1\u751f\u4e25\u91cd\u7684\u9519\u8bef\u6216\u5d29\u6e83\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u6253\u5305\u65f6\n\u4e0d\u8981\u5173\u95eddevelopment\u9009\u9879\uff0c\u6216\u8005\u4fee\u6539",(0,n.kt)("inlineCode",{parentName:"li"},"Generate/AOTDlls"),"\u4ee3\u7801\uff0c\u5728BuildOptions\u4e2d\u6dfb\u52a0",(0,n.kt)("inlineCode",{parentName:"li"},"Development"),"\u6807\u5fd7\u3002")),(0,n.kt)("h3",{id:"\u9047\u5230-unity-typeloadexception-could-not-load-type-xxxtype-from-assembly-yyyassembly"},"\u9047\u5230 Unity: TypeLoadException: Could not load type 'XxxType' from assembly 'yyyAssembly'"),(0,n.kt)("p",null,"\u5206\u51e0\u60c5\u51b5\uff1a"),(0,n.kt)("h4",{id:"\u60c5\u51b51yyyassembly-\u662f-netstandard"},"\u60c5\u51b51\uff1ayyyAssembly \u662f netstandard"),(0,n.kt)("p",null,"\u8fd9\u662f\u56e0\u4e3a\u4f60Player Settings\u91cc ",(0,n.kt)("inlineCode",{parentName:"p"},"api compatible level")," \u8bbe\u7f6e\u4e3a .net standard\u3002"),(0,n.kt)("p",null,"\u76ee\u524d\u652f\u6301.net standard 2.0\u548c.net 4.x\uff0c\u4f46\u5373\u4f7f\u4e3b\u5de5\u7a0b\u6253\u5305\u7528.net standard\uff0c\u70ed\u66f4\u65b0dll\u6253\u5305",(0,n.kt)("strong",{parentName:"p"},"\u5fc5\u987b\u7528.net 4.x"),"\u3002\u539f\u56e0\u662funity\u4f7f\u7528.net standard\u6253\u5305\u65f6\uff0c\u4f1a\u81ea\u52a8\u5265\u9664.net standard\u7684\u4f9d\u8d56\uff0c\u76f4\u63a5\u4f9d\u8d56\u6700\u7ec8\u7684dll\uff0c\u5bfc\u81f4\u4e3b\u5de5\u7a0b\u7684dll\u5217\u8868\u4e2d\u5b9e\u9645\u4e0a\u4e0d\u5b58\u5728net standard\u8fd9\u4e2adll\uff0c\u8fdb\u800c\u5bfc\u81f4\u70ed\u66f4\u65b0dll\u52a0\u8f7d\u65f6\uff0c\u627e\u4e0d\u5230\u6765\u81eanetstandard\u7684\u5bf9\u8c61\u3002"),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\u4e3a\u6253\u5305\u548c\u7f16\u8bd1\u70ed\u66f4\u65b0\u90fd\u7528.net 4.x\u6216\u8005\u6253\u5305\u7528.net standard 2.0\u4f46\u7f16\u8bd1\u70ed\u66f4\u65b0\u90e8\u5206\u65f6api compatible level\u5207\u6362\u4e3a.net 4.x(2021 \u8d77\u6539\u540d\u4e3a .net framework)\u3002"),(0,n.kt)("h4",{id:"\u60c5\u51b52yyyassembly\u662f-\u5176\u4ed6aot-assembly"},"\u60c5\u51b52\uff1ayyyAssembly\u662f \u5176\u4ed6AOT assembly"),(0,n.kt)("p",null,"\u8fd9\u662funity\u4ee3\u7801\u88c1\u526a\u5f15\u8d77\u7684\u51fd\u6570\u4e22\u5931\uff0c\u4f60\u4f7f\u7528\u5e38\u89c4\u7684\u907f\u514dunity\u4ee3\u7801\u88c1\u526a\u7684\u65b9\u5f0f\u5904\u7406\u5373\u53ef\u3002"),(0,n.kt)("p",null,"\u6309\u7167Unity\u9632\u88c1\u526a\u539f\u7406\uff0c\u4f60\u5728link.xml\u4e2d\u6dfb\u52a0\u5bf9\u4e22\u5931\u4ee3\u7801\u7c7b\u7684\u5f15\u7528\u5373\u53ef\uff0c\u4f46\u8fd9\u79cd\u4e8b\u60c5\u8d39\u65f6\u8d39\u529b\u3002"),(0,n.kt)("p",null,"HybridCLR\u63d0\u4f9b\u4e86\u5feb\u6377\u7684\u81ea\u52a8\u751f\u6210\u5de5\u5177\uff0c\u8fd0\u884c\u83dc\u5355\u547d\u4ee4 ",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Genrate/LinkXml")," \u6839\u636e\u70ed\u66f4\u65b0dll\u751f\u6210 link.xml\u3002"),(0,n.kt)("admonition",{type:"caution"},(0,n.kt)("p",{parentName:"admonition"},"\u5982\u679c\u4f60\u53d1\u73b0\u5728link.xml\u786e\u5b9epreserve\u4e86\u8fd9\u4e2a\u7c7b\uff0c\u4f46\u4ecd\u7136\u51fa\u73b0\u8fd9\u79cd\u7c7b\u578b\u7f3a\u5931\u7684\u9519\u8bef\uff0c\u8fd9\u662fUnity\u81ea\u8eab\u5f15\u8d77\u7684\u3002Unity\u8981\u6c42\u5fc5\u987b\u5728\u4ee3\u7801\u91cc\u5f15\u7528\u8fc7dll\u91cc\u7684\u4efb\u610f\u7c7b\uff0c\u624d\u4f1a\u4fdd\u7559\u8fd9\u4e2adll\uff0clink\u4e2d\u7684\u90a3\u4e9b\u914d\u7f6e\u624d\u4f1a\u751f\u6548\u3002\u56e0\u6b64\u9700\u8981\u4f60\u624b\u52a8\u5728\u4ee3\u7801\u91cc\u5f15\u7528\u7f3a\u5931\u7684\u8fd9\u4e2a\u7c7b\u6240\u5728\u7684dll\u91cc\u7684\u4efb\u610f\u4e00\u4e2a\u7c7b\u5373\u53ef\u3002 ")),(0,n.kt)("h4",{id:"\u60c5\u51b53yyyassembly\u662f\u70ed\u66f4\u65b0assembly"},"\u60c5\u51b53\uff1ayyyAssembly\u662f\u70ed\u66f4\u65b0assembly"),(0,n.kt)("p",null,"\u8fd9\u662f\u56e0\u4e3a\u4f60\u6ca1\u6709\u6309\u7167\u4f9d\u8d56\u987a\u5e8f\u52a0\u8f7d\u70ed\u66f4\u65b0dll\u3002\u4f8b\u5982\uff0c\u5982\u679cA\u4f9d\u8d56\u4e8eB\uff0c\u90a3\u4f60\u5e94\u8be5\u5148\u52a0\u8f7dB\uff0c\u518d\u52a0\u8f7dA\u3002"),(0,n.kt)("h3",{id:"missingmethodexception-hybridclrruntimeapiloadmetadataforaotassemblysystembytehybridclrhomologousimagemode-\u9519\u8bef"},"MissingMethodException: HybridCLR.RuntimeApi::LoadMetadataForAOTAssembly(System.Byte[],HybridCLR.HomologousImageMode) \u9519\u8bef"),(0,n.kt)("p",null,"\u5347\u7ea7hybridclr\u540e\u672a\u91cd\u65b0install\u3002 \u4ecev4.0.8\u8d77\uff0cRuntimeApi\u4e2d\u5b9a\u4e49\u7684extern\u51fd\u6570\u7531PInvoke\u6539\u4e3aInternalCall\uff0c\u5982\u679c\u5347\u7ea7hybridclr package\u540e\u6ca1\u6709\u91cd\u65b0install\u5c31\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u9519\u8bef\u3002"),(0,n.kt)("h3",{id:"missingmethodexception-methodnotfind-xxclassyyymethod-\u9519\u8bef"},"MissingMethodException: MethodNotFind xxClass::yyyMethod \u9519\u8bef"),(0,n.kt)("p",null,"\u8fd9\u662funity\u4ee3\u7801\u88c1\u526a\u5f15\u8d77\u7684\u51fd\u6570\u4e22\u5931\uff0c\u8fd0\u884c\u83dc\u5355\u547d\u4ee4 ",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Genrate/LinkXml")," \u6839\u636e\u70ed\u66f4\u65b0dll\u751f\u6210 link.xml\u3002\u540c\u65f6\u8981\u786e\u4fdd\u88ab\u5f15\u7528\u7684AOT\u7a0b\u5e8f\u96c6\u5728\u4e3b\u5de5\u7a0b\u4ee3\u7801\u4e2d\u88ab\u5f15\u7528\u8fc7\uff0c\u5426\u5219linkxml\u4e0d\u4f1a\u751f\u6548\u3002"),(0,n.kt)("h3",{id:"missingmethodexception-aot-generic-method-isnt-instantiated-in-aot-module-xxx"},"MissingMethodException: AOT generic method isn't instantiated in aot module xxx"),(0,n.kt)("p",null,"\u6709\u51e0\u4e2a\u539f\u56e0\uff1a"),(0,n.kt)("ol",null,(0,n.kt)("li",{parentName:"ol"},"\u8fd9\u662f\u56e0\u4e3aAOT\u6cdb\u578b\u51fd\u6570\u5b9e\u4f8b\u5316\u7f3a\u5931\u5f15\u8d77\u7684"),(0,n.kt)("li",{parentName:"ol"},"\u4f7f\u7528\u4e86Unity 2021\u5e76\u4e14 ",(0,n.kt)("inlineCode",{parentName:"li"},"Il2Cpp Code Generation")," \u9009\u9879\u4e3a ",(0,n.kt)("inlineCode",{parentName:"li"},"faster runtime"),"\uff0c\u5bfc\u81f4\u751f\u6210\u7684\u4ee3\u7801\u4e3a\u5b8c\u5168\u6cdb\u578b\u6a21\u5f0f\uff0c\u6240\u6709\u6cdb\u578b\u51fd\u6570\u7b7e\u540d\u5747\u53d1\u751f\u53d8\u5316\u3002\u5982\u679c\u6ca1\u6709\u8865\u5145\u5143\u6570\u636e\uff0c\u8c03\u7528\u5373\u4f7f\u5df2\u7ecf\u5728AOT\u4e2d\u5b9e\u4f8b\u5316\u7684\u6cdb\u578b\u51fd\u6570\uff0c\u4ecd\u7136\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u9519\u8bef\u3002"),(0,n.kt)("li",{parentName:"ol"},"\u5fae\u4fe1\u5c0f\u6e38\u620f\u8f6c\u6362\u5de5\u5177\uff0c\u9ed8\u8ba4\u4f1a\u5c06IL2CPP Code Generation\u8bbe\u7f6e\u4e3aFaster(Smaller) builds\u6a21\u5f0f\uff0c\u5982\u679c\u672a\u8865\u5145\u5143\u6570\u636e\uff0c\u4f1a\u5bfc\u81f4\u65e0\u6cd5\u8bbf\u95eeAOT\u6cdb\u578b\u51fd\u6570\u3002")),(0,n.kt)("p",null,"\u539f\u56e01\u7684\u89e3\u51b3\u529e\u6cd5\u4e3a\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u9519\u8bef\u65e5\u5fd7\u544a\u8bc9\u4f60\u7f3a\u5931\u54ea\u4e2aAOT\u51fd\u6570\u5b9e\u4f8b\u5316\uff0c\u4f60\u5c31\u5728\u4e3b\u5de5\u7a0b\u91cc\u52a0\u4e0a\u5bf9\u8fd9\u4e2a\u51fd\u6570\u7684\u8c03\u7528\uff0c\u4f7f\u5f97il2cpp\u5728\u6253\u5305\u65f6\u80fd\u751f\u6210\u8fd9\u4e2a\u6cdb\u578b\u51fd\u6570\u7684\u4ee3\u7801\u3002 \u4e3b\u5de5\u7a0b\u91cc\u4efb\u610f\u5730\u65b9\u52a0\u4e2a\u8fd9\u4e2a\u6cdb\u578bAOT\u51fd\u6570\u8c03\u7528\u90fd\u53ef\u4ee5\uff0c\u76ee\u524d\u4e00\u822c\u96c6\u4e2d\u52a0\u5230 RefTypes.cs \u8fd9\u4e2a\u6587\u4ef6\u91cc\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u4f7f\u7528\u8865\u5145\u5143\u6570\u636e\u6280\u672f")),(0,n.kt)("p",null,"\u539f\u56e02\u7684\u89e3\u51b3\u529e\u6cd5\u4e3a\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u4f7f\u7528\u8865\u5145\u5143\u6570\u636e\u6280\u672f")),(0,n.kt)("p",null,"\u539f\u56e03\u7684\u89e3\u51b3\u529e\u6cd5\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u4f7f\u7528\u8865\u5145\u5143\u6570\u636e\u6280\u672f"),(0,n.kt)("li",{parentName:"ul"},"\u81ea\u5df1\u6539\u5fae\u4fe1\u5de5\u5177\u6e90\u7801\uff0c\u5c06BuildSettings\u4e2d ",(0,n.kt)("inlineCode",{parentName:"li"},"IL2CPP Code Generation")," \u8bbe\u7f6e\u4e3a ",(0,n.kt)("inlineCode",{parentName:"li"},"Faster"),"\u3002")),(0,n.kt)("p",null,"\u5177\u4f53\u64cd\u4f5c\u8bf7\u770b",(0,n.kt)("a",{parentName:"p",href:"/docs/basic/aotgeneric"},"AOT\u6cdb\u578b\u539f\u7406\u4ecb\u7ecd")," \u6587\u6863\u3002"),(0,n.kt)("h3",{id:"\u9047\u5230-executionengineexception-metadata-type-not-match"},"\u9047\u5230 ExecutionEngineException: metadata type not match"),(0,n.kt)("p",null,"\u8865\u5145\u5143\u6570\u636e\u4f7f\u7528\u4e86\u4e0d\u5339\u914d\u7684\u88c1\u526a\u540e\u7684AOT\u7248\u672c\uff0c\u5e94\u8be5\u4f7f\u7528\u672c\u6b21\u6253\u5305\u751f\u6210\uff0c\u6216\u8005\u4f7f\u7528",(0,n.kt)("inlineCode",{parentName:"p"},"HomologousImageMode::SuperSet"),"\u6a21\u5f0f\u52a0\u8f7d\u3002"),(0,n.kt)("h3",{id:"\u9047\u5230executionengineexception-not-support-extern-method-xxxx"},"\u9047\u5230ExecutionEngineException: not support extern method: xxxx"),(0,n.kt)("p",null,"\u6709\u4e24\u79cd\u539f\u56e0\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u5728\u70ed\u66f4\u65b0\u4e2d\u5b9a\u4e49\u4e86extern\u51fd\u6570\uff0c\u8fd9\u6682\u65f6\u4e0d\u652f\u6301\u3002\u89e3\u51b3\u529e\u6cd5\u662f\u5c06extern\u51fd\u6570\u79fb\u5230AOT\u90e8\u5206\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u4f7f\u7528\u4e86SuperSet\u5143\u6570\u636e\u683c\u5f0f\uff0c\u4f46\u8865\u5145\u5143\u6570\u636eaot dll\u592a\u65e7\uff0c\u5bfc\u81f4AOT\u4e2d\u7684\u6cdb\u578b\u5728\u8865\u5145\u5143\u6570\u636edll\u4e2d\u627e\u4e0d\u5230\u3002\u89e3\u51b3\u529e\u6cd5\u662f\u66f4\u65b0\u6700\u65b0\u7684AOT dll\u3002")),(0,n.kt)("h3",{id:"\u9047\u5230executionengineexceptionmethod-body-is-null-xxxyyyy"},"\u9047\u5230ExecutionEngineException:method body is null. xxx::yyyy"),(0,n.kt)("p",null,"\u539f\u56e0\u540c\u4e0a\u3002"),(0,n.kt)("h3",{id:"\u9047\u5230-executionengineexception-getmanaged2nativemethodpointer-not-support-xxxx-\u51fd\u6570\u540d"},"\u9047\u5230 ExecutionEngineException: GetManaged2NativeMethodPointer not support. xxxx \u51fd\u6570\u540d"),(0,n.kt)("p",null,"\u7f3a\u5931 interpreter -> aot \u65b9\u5411\u7684\u6865\u63a5\u51fd\u6570\u3002\u8bf7\u5148\u786e\u8ba4\u4f60\u7684 hybridclr\u662f\u6700\u65b0\u4ee3\u7801\uff0c com.code-philosophy.hybridclr package\u4e5f\u662f\u6700\u65b0\u7248\u672c\uff0c\n\u5e76\u4e14\u5df2\u7ecf\u751f\u6210\u6700\u65b0\u7684\u6865\u63a5\u51fd\u6570\u3002\u539f\u7406\u8bf7\u53c2\u8003 ",(0,n.kt)("a",{parentName:"p",href:"/docs/basic/methodbridge"},"\u6865\u63a5\u51fd\u6570")," \u3002"),(0,n.kt)("p",null,"\u5982\u679cAndroid\u4e0a\u6b63\u5e38\uff0c\u800ciOS\u4e0a\u6709\u95ee\u9898\uff0c\u5219\u662f\u56e0\u4e3a\u4f60\u6ca1\u6709\u91cd\u65b0\u7f16\u8bd1libil2cpp.a\u3002"),(0,n.kt)("p",null,"\u5982\u679c\u8fd8\u6709\u95ee\u9898\uff0c\u8bf7\u5728\u7fa4\u91cc\u53cd\u9988\u7ed9\u7ba1\u7406\u5458 \u6280\u672f\u652f\u6301\u3002"),(0,n.kt)("h3",{id:"\u9047\u5230executionengineexception-notsupportnative2managed"},"\u9047\u5230'ExecutionEngineException: NotSupportNative2Managed'"),(0,n.kt)("p",null,"\u7f3a\u5931 aot -> interpreter \u65b9\u5411\u7684\u6865\u63a5\u51fd\u6570\u3002\u8bf7\u5148\u786e\u8ba4\u4f60\u5df2\u751f\u6210\u6700\u65b0\u7684\u6865\u63a5\u51fd\u6570\u3002\u539f\u7406\u8bf7\u53c2\u8003 ",(0,n.kt)("a",{parentName:"p",href:"/docs/basic/methodbridge"},"\u6865\u63a5\u51fd\u6570")," \u3002\n\u5982\u679cAndroid\u4e0a\u6b63\u5e38\uff0c\u800ciOS\u4e0a\u6709\u95ee\u9898\uff0c\u5219\u662f\u56e0\u4e3a\u4f60\u6ca1\u6709\u91cd\u65b0\u7f16\u8bd1libil2cpp.a\u3002"),(0,n.kt)("p",null,"\u5982\u679c\u8fd8\u6709\u95ee\u9898\uff0c\u8bf7\u5728\u7fa4\u91cc\u53cd\u9988\u7ed9\u7ba1\u7406\u5458 \u6280\u672f\u652f\u6301\u3002"),(0,n.kt)("h3",{id:"executionengineexception-attempting-to-call-method-xxxx-for-which-no-ahead-of-time-aot-code-was-generated"},"ExecutionEngineException: Attempting to call method 'xxxx' for which no ahead of time (AOT) code was generated."),(0,n.kt)("p",null,"\u4e3a\u51fa\u9519\u7684\u51fd\u6570\u6240\u5728\u7684dll\u8865\u5145\u5143\u6570\u636e\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"getreversepinvokewrapper-fail-exceed-max-wrapper-num-of-method"},"GetReversePInvokeWrapper fail. exceed max wrapper num of method"),(0,n.kt)("p",null,"Wrapper\u51fd\u6570\u4e0d\u8db3\u3002\u4f60\u9700\u8981\u4e3a\u70ed\u66f4\u65b0\u4e2d\u7684\u6dfb\u52a0\u4e86MonoPInvokeCallback\u7279\u6027\u7684\u51fd\u6570\u9884\u7559Wrapper\u51fd\u6570\uff0c\u8be6\u89c1",(0,n.kt)("a",{parentName:"p",href:"/docs/basic/workwithscriptlanguage"},"MonoPInvokeCallback\u652f\u6301")),(0,n.kt)("h3",{id:"notsupportedexception-to-marshal-a-managed-method-please-add-an-attribute-named-monopinvokecallback-to-the-method-definition-the-method-were-attempting-to-marshal-isxxxx"},"NotSupportedException: To marshal a managed method, please add an attribute named 'MonoPInvokeCallback' to the method definition. The method we're attempting to marshal is:xxxx"),(0,n.kt)("p",null,"\u539f\u7406\u540c\u4e0a"),(0,n.kt)("h3",{id:"\u4f7f\u7528addressable\u8fdb\u884c\u70ed\u66f4\u65b0\u65f6\u52a0\u8f7d\u8d44\u6e90\u51fa\u73b0-unityengineaddressableassetsinvlidkeyexception-exception-of-type-unityengineaddressableassetsinvalidkeyexception-was-thrown-no-asset-found-with-for-key-xxxx-\u5f02\u5e38"},"\u4f7f\u7528addressable\u8fdb\u884c\u70ed\u66f4\u65b0\u65f6\uff0c\u52a0\u8f7d\u8d44\u6e90\u51fa\u73b0 UnityEngine.AddressableAssets.InvlidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown. No Asset found with for key 'xxxx' \u5f02\u5e38"),(0,n.kt)("p",null,"\u89e3\u51b3\u65b9\u6848\u6765\u81ea",(0,n.kt)("a",{parentName:"p",href:"https://github.com/Bian-Sh/Assemblies-Hotfix-Toolkit-Unity/issues/2"},"addressables\u548cHybridCLR\u7ed3\u5408\u4f7f\u7528\u5bfc\u81f4\u7684\u8d44\u6e90\u52a0\u8f7d\u9519\u8bef"),"\u3002\u4e5f\u53ef\u4ee5\u53c2\u89c1\u89c6\u9891",(0,n.kt)("a",{parentName:"p",href:"https://www.bilibili.com/video/BV1aP4y1o7xi/"},"\u8e29\u5751\u5b9e\u6218:\u5c06HybridCLR\u5bfc\u5165\u81ea\u5df1\u7684\u9879\u76ee\u5e76\u5b9e\u73b0\u70ed\u66f4\u65b0")," 1:02:30\u8d77\u7684\u5185\u5bb9\u3002"),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u5f53\u4f7f\u7528addressables\u6765\u66f4\u65b0\u70ed\u66f4\u65b0\u7684dll\u65f6\u3002\u7531\u4e8e\u662f\u5148\u4f7f\u7528\u4e86Addressables\u7684LoadAssetAsync\u51fd\u6570\uff0c\u5bfc\u81f4Addressables\u9700\u8981\u5148\u8fdb\u884c\u521d\u59cb\u5316\uff0c\u6b64\u65f6\u7684\u521d\u59cb\u5316\u4e2d\u5982\u679c\u8d44\u6e90\u7684\u7c7b\u578b\u662f\u5728\u70ed\u66f4\u65b0\u7684\u7c7b\u578b\uff0c\u90a3\u4e48Addressables\u4f1a\u8ba4\u4e3a\u8be5\u8d44\u6e90\u7684\u7c7b\u578b\u4e3aSystem.Object\u3002\u6240\u4ee5\u9700\u8981\u5148\u8fdb\u884cdll\u7684\u52a0\u8f7d\u624d\u80fd\u591f\u4f7f\u7528Addressables\u6765\u52a0\u8f7d\u8d44\u6e90\uff0c\u5426\u5219\u5c31\u4f1a\u62a5UnityEngine.AddressableAssets.InvalidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown. No Asset found with for Key=xxx. Key exists as Type=System.Object, which is not assignable from the requested Type=YourHotUpdateAssetType\u3002")),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\u6709\u5982\u4e0b\u51e0\u79cd\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u4f7f\u7528",(0,n.kt)("inlineCode",{parentName:"li"},"LoadAsset"),"\u63a5\u53e3\u52a0\u8f7d\u540e\u518d\u5f3a\u8f6c"),(0,n.kt)("li",{parentName:"ul"},"\u5728loaddll\u7ed3\u675f\u540e\u91cd\u65b0\u52a0\u8f7dcatalog ",(0,n.kt)("inlineCode",{parentName:"li"},'Addressables.LoadContentCatalogAsync($"{Addressables.RuntimePath}/catalog.json");'))),(0,n.kt)("h3",{id:"gameobjectgetcomponentstring-name-\u63a5\u53e3\u65e0\u6cd5\u83b7\u5f97\u7ec4\u4ef6"},"GameObject.GetComponent(string name) \u63a5\u53e3\u65e0\u6cd5\u83b7\u5f97\u7ec4\u4ef6"),(0,n.kt)("p",null,"\u8fd9\u662f\u5df2\u77e5bug\uff0c\u8ddfunity\u7684\u4ee3\u7801\u5b9e\u73b0\u6709\u5173\uff0c\u53ea\u6709\u6302\u8f7d\u5728\u70ed\u66f4\u65b0\u8d44\u6e90\u4e0a\u70ed\u66f4\u65b0\u811a\u672c\u624d\u4f1a\u6709\u8fd9\u4e2a\u95ee\u9898\uff0c\u901a\u8fc7\u4ee3\u7801\u4e2dAddComponent\u6dfb\u52a0\u7684\u70ed\u66f4\u65b0\u811a\u672c\u662f\u53ef\u4ee5\u7528\u8fd9\u4e2a\u65b9\u6cd5\u67e5\u627e\u5230\u3002\u8bf7\u6539\u7528 ",(0,n.kt)("inlineCode",{parentName:"p"},"GameObject.GetComponent()")," \u6216 ",(0,n.kt)("inlineCode",{parentName:"p"},"GameObject.GetComponent(typeof(T))")),(0,n.kt)("h3",{id:"gameobjectgetcomponentt\u6216\u8005gameobjectgetcomponenttype-type\u8fd4\u56denull"},"GameObject.GetComponent","<","T",">","()\u6216\u8005GameObject.GetComponent(Type type)\u8fd4\u56denull"),(0,n.kt)("p",null,"\u90fd\u662f\u56e0\u4e3a\u4f60\u628a\u67d0\u4e2a\u7a0b\u5e8f\u96c6\u52a0\u8f7d\u4e86\u4e24\u6b21\u5bfc\u81f4\uff0c\u4f60\u4f20\u5165\u7684T\u6216\u8005Type\u4e0eGameObject\u4e0a\u6302\u8f7d\u7684\u811a\u672c\u53ea\u662f\u540c\u540d\uff0c\u5374\u5c5e\u4e8e\u4e0d\u540c\u7a0b\u5e8f\u96c6\u5b9e\u4f8b\uff0c\u5bfc\u81f4\u8fd4\u56de\u65f6\u5f3a\u8f6c\u540e\u53d8\u6210null\u3002\u4e00\u822c\u6709\u5982\u4e0b\u51e0\u79cd\u60c5\u5f62\u5bfc\u81f4\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"Editor\u4e2d\u4f7f\u7528Assembly.Load\u52a0\u8f7d\u4e86\u70ed\u66f4\u65b0\u7a0b\u5e8f\u96c6\u3002\u7531\u4e8eEditor\u4e0b\u5df2\u7ecf\u9ed8\u8ba4\u52a0\u8f7d\u4e86\u6240\u6709\u7a0b\u5e8f\u96c6\uff0c\u4f60\u518d\u6b21\u52a0\u8f7d\u5c31\u4f1a\u51fa\u73b0\u91cd\u590d\u52a0\u8f7d\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u4f7f\u7528#if !UNITY_EDITOR \u5b8f\u6ce8\u91ca\u6389\u52a0\u8f7d\u4ee3\u7801"),(0,n.kt)("li",{parentName:"ul"},"\u7a0b\u5e8f\u96c6\u672a\u52a0\u5230hotUpdateAssemblies\u5217\u8868\uff0c\u5bfc\u81f4\u70ed\u66f4\u65b0\u7a0b\u5e8f\u96c6\u4e5f\u88ab\u6253\u5305\u5230\u4e86AOT\u4e2d\u3002\u5728\u70ed\u66f4\u65b0\u4e2d\u518d\u6b21\u52a0\u8f7d\u5219\u4f1a\u51fa\u73b0\u91cd\u590d\u52a0\u8f7d\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u5c06\u70ed\u66f4\u65b0\u7a0b\u5e8f\u96c6\u52a0\u5165\u5230hotUpdateAssemblies\u5217\u8868\uff0c\u91cd\u65b0\u6253\u5305")),(0,n.kt)("h3",{id:"\u4f7f\u7528memoryprofile\u6293\u53d6\u5185\u5b58\u5feb\u7167\u4f1a\u5d29\u6e83"},"\u4f7f\u7528MemoryProfile\u6293\u53d6\u5185\u5b58\u5feb\u7167\u4f1a\u5d29\u6e83"),(0,n.kt)("p",null,"\u5982\u679c\u4f60\u4f7f\u7528Unity 2021\u6216\u66f4\u9ad8\u7684\u7248\u672c\uff0c\u5347\u7ea7 hybridclr package\u5230",(0,n.kt)("inlineCode",{parentName:"p"},"v3.0.2"),"\u6216\u66f4\u9ad8\u7248\u672c\u5373\u53ef\u3002\u5982\u679c\u4f7f\u7528Unity 2019\u62162020\uff0c\u5c06\u63d0\u4ea4\u8bb0\u5f55\n",(0,n.kt)("a",{parentName:"p",href:"https://github.com/focus-creative-games/hybridclr/commit/062bfa99c71a53a6cb35fc89a52d67bbff2bb2d0"},"\u4fee\u590d\u4f7f\u7528Momery Profiler\u521b\u5efa\u5feb\u7167\u65f6\u53d1\u751f\u5d29\u6e83\u7684bug")," \u7684\u6539\u52a8\u5408\u5e76\u5230\u4f60\u5f53\u524d\u7248\u672c\u5373\u53ef\u3002"),(0,n.kt)("h3",{id:"profiler\u7684-beginsample\u548cendsample-\u65e0\u6cd5\u751f\u6548"},"profiler\u7684 BeginSample\u548cEndSample \u65e0\u6cd5\u751f\u6548"),(0,n.kt)("p",null,"\u56e0\u4e3a BeginSample\u4e4b\u7c7b\u7684\u51fd\u6570\u6709","[Condition]","\u7f16\u8bd1\u6ce8\u89e3\uff0c\u4ee5Release\u65b9\u5f0f\u7f16\u8bd1dll\u65f6\uff0c\u4f1a\u81ea\u52a8\u5254\u9664\u8fd9\u4e9b\u4ee3\u7801\uff0c\u5bfc\u81f4Profile\u5931\u6548\u3002\u89e3\u51b3\u529e\u6cd5\u662f\u4ee5Developemnt\u65b9\u5f0f\u7f16\u8bd1\u70ed\u66f4\u65b0dll\u5373\u53ef\uff0c\u4ee3\u7801\u5982\u4e0b\u3002\n\u5982\u679c\u4f60\u4f7f\u7528",(0,n.kt)("inlineCode",{parentName:"p"},"v3.0.2"),"\u53ca\u66f4\u9ad8\u7248\u672c\uff0c\u5df2\u7ecf\u9644\u5e26\u4e86",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/CompileDll/ActivedBuildTarget_Development"),"\u83dc\u5355\u547d\u4ee4\u3002"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-csharp"}," var group = BuildPipeline.GetBuildTargetGroup(target);\n\n ScriptCompilationSettings scriptCompilationSettings = new ScriptCompilationSettings();\n scriptCompilationSettings.group = group;\n scriptCompilationSettings.target = target;\n if (developmentBuild)\n {\n // \u6838\u5fc3\u662f\u8fd9\u884c\uff0c\u4f7f\u5f97\u4ee5Debug\u6a21\u5f0f\u7f16\u8bd1dll\uff0c\u4fdd\u7559Profiler.BeginSample\u4e4b\u7c7b\u7684\u51fd\u6570\u8c03\u7528\u3002\n scriptCompilationSettings.options |= ScriptCompilationOptions.DevelopmentBuild;\n }\n Directory.CreateDirectory(buildDir);\n ScriptCompilationResult scriptCompilationResult = PlayerBuildInterface.CompilePlayerScripts(scriptCompilationSettings, buildDir);\n")),(0,n.kt)("h3",{id:"ios\u4f7f\u7528\u76f8\u673a\u6ca1\u6709\u4efb\u4f55\u54cd\u5e94\u4f46\u4e5f\u4e0d\u62a5\u9519"},"iOS\u4f7f\u7528\u76f8\u673a\u6ca1\u6709\u4efb\u4f55\u54cd\u5e94\uff0c\u4f46\u4e5f\u4e0d\u62a5\u9519"),(0,n.kt)("p",null,"\u8fd9\u662fWebCamTexture.devices\u672a\u5728AOT\u4e2d\u4fdd\u7559\u5bfc\u81f4\u3002\u9700\u8981\u624b\u52a8\u5728AOT\u4e2d\u5f15\u7528 WebCamTexture.devices\u3002"),(0,n.kt)("h3",{id:"avpromoviecapture\u63d2\u4ef6\u5de5\u4f5c\u4e0d\u6b63\u5e38"},"AVProMovieCapture\u63d2\u4ef6\u5de5\u4f5c\u4e0d\u6b63\u5e38"),(0,n.kt)("p",null,"\u7531\u4e8eAVProMovieCapture\u81ea\u8eab\u5b9e\u73b0\u7684\u539f\u56e0\uff0c\u4f60\u9700\u8981\u5148\u521d\u59cb\u5316\u63d2\u4ef6\uff0c\u518d\u8fdb\u884cHybridCLR\u7684\u52a0\u8f7d\u4e4b\u7c7b\u7684\u64cd\u4f5c\u3002"),(0,n.kt)("h3",{id:"encodeimageandmetadataindex\u51fd\u6570\u51fa\u73b0il2cpp_assert\u65ad\u8a00\u5931\u8d25\u7684\u9519\u8bef"},"EncodeImageAndMetadataIndex\u51fd\u6570\u51fa\u73b0IL2CPP_ASSERT\u65ad\u8a00\u5931\u8d25\u7684\u9519\u8bef"),(0,n.kt)("p",null,"\u7531\u4e8e\u4f60\u4eec\u9879\u76ee\u7684\u70ed\u66f4\u65b0dll\u8fc7\u5927\u5bfc\u81f4\u3002\u89e3\u51b3\u529e\u6cd5\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u5347\u7ea7\u5230v5.2.0+\u7248\u672c\uff0c\u652f\u6301\u6700\u592764M\u7684dll"),(0,n.kt)("li",{parentName:"ul"},"\u5c06\u70ed\u66f4\u65b0dll\u62c6\u5206\u6210\u591a\u4e2a\u66f4\u5c0f\u7684dll")),(0,n.kt)("h2",{id:"\u542f\u52a8\u65f6\u6267\u884cautomaticworldbootstrapinitialize\u8fc7\u7a0b\u4e2d\u8c03\u7528resourcecatalogdatagetguidfrompath\u5d29\u6e83"},"\u542f\u52a8\u65f6\u6267\u884cAutomaticWorldBootstrap::Initialize\u8fc7\u7a0b\u4e2d\u8c03\u7528ResourceCatalogData::GetGUIDFromPath\u5d29\u6e83"),(0,n.kt)("p",null,"\u4f60\u5f53\u524d\u4f7f\u7528\u7684entities\u7248\u672c\u4e0d\u80fd\u76f4\u63a5\u4f7f\u7528Player Building\u4e2d\u6253\u5305\uff0c\u5fc5\u987b\u5b89\u88c5",(0,n.kt)("inlineCode",{parentName:"p"},"com.unity.platforms"),"\uff0c\u4f7f\u7528\u5b83\u5355\u72ec\u7684\u63d0\u4f9b\u7684\u6253\u5305\u65b9\u5f0f\uff0c",(0,n.kt)("a",{parentName:"p",href:"https://docs.unity3d.com/Packages/com.unity.entities@0.51/manual/ecs_building_projects.html"},"\u8be6\u7ec6\u6587\u6863"),"\u3002"),(0,n.kt)("h2",{id:"jobschedulebatch-\u5d29\u6e83"},"Job.ScheduleBatch \u5d29\u6e83"),(0,n.kt)("p",null,"hybridclr\u4e0edots\u4e0d\u517c\u5bb9\u5bfc\u81f4\uff0c\u5546\u4e1a\u5316\u7248\u672c\u53ef\u4ee5\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002"),(0,n.kt)("h2",{id:"webgl-\u8fd0\u884c\u65f6\u51fa\u73b0-function-signature-mismatch\u9519\u8bef"},"WebGL \u8fd0\u884c\u65f6\u51fa\u73b0 function signature mismatch\u9519\u8bef"),(0,n.kt)("p",null,"WebGL\u5e73\u53f0\u6253\u5305\u65f6\u9ed8\u8ba4\u4f7f\u7528 ",(0,n.kt)("inlineCode",{parentName:"p"},"faster (smaller) build"),"\u9009\u9879\uff0c\u8be5\u9009\u9879\u4f1a\u5f00\u542f\u5b8c\u5168\u6cdb\u578b\u5171\u4eab\uff0c\u800c\u793e\u533a\u7248\u672c\u5fc5\u987b\u8865\u5145\u5143\u6570\u636e\u540e\u624d\u80fd\u4e0e\u5b8c\u5168\u6cdb\u578b\u5171\u4eab\u673a\u5236\u914d\u5408\u5de5\u4f5c\u3002\u8bf7\u4f9d\u6b21\u5c1d\u8bd5\u4ee5\u4e0b\u529e\u6cd5\uff1a"),(0,n.kt)("ol",null,(0,n.kt)("li",{parentName:"ol"},"\u786e\u4fddhybridclr\u4e3av4.0.0+\u7248\u672c\uff0c\u5982\u679c\u4f4e\u4e8e\u6b64\u7248\u672c\u8bf7\u5347\u7ea7"),(0,n.kt)("li",{parentName:"ol"},"\u5c1d\u8bd5\u8865\u5145\u5143\u6570\u636e\uff0c\u8865\u5145",(0,n.kt)("inlineCode",{parentName:"li"},"\u51fd\u6570\u6808\u6700\u9876\u90e8\u7684c#\u4ee3\u7801\u6240\u5728\u7684"),"\u7a0b\u5e8f\u96c6"),(0,n.kt)("li",{parentName:"ol"},"\u5982\u679c\u4ecd\u6709\u95ee\u9898\uff0c\u5219\u53ef\u80fd\u662f\u6865\u63a5\u51fd\u6570\u4e0e\u6700\u7ec8\u6784\u5efa\u7684\u5305\u4e0d\u5339\u914d\u5bfc\u81f4\uff0c\u6bd4\u5982\u8bf4'Generate/all'\u65f6\u5f00\u542f\u4e86'development'\u4f46\u6784\u5efa\u65f6\u5374\u672a\u5f00\u542f'development'\u3002\u89e3\u51b3\u529e\u6cd5\u4e3a\u4f7f\u7528\u6784\u5efa\u65f6\u7684\u53c2\u6570\uff0c\u8fd0\u884c",(0,n.kt)("inlineCode",{parentName:"li"},"generate/all"),"\uff0c\u6e05\u9664build\u7f13\u5b58\u540e\u91cd\u65b0\u6784\u9020"),(0,n.kt)("li",{parentName:"ol"},"\u5982\u679c\u4ecd\u6709\u95ee\u9898\uff0c\u5c06 ",(0,n.kt)("inlineCode",{parentName:"li"},"Player Settings"),"\u4e2d ",(0,n.kt)("inlineCode",{parentName:"li"},"IL2CPP Code Generation")," \u5207\u6362\u5230 ",(0,n.kt)("inlineCode",{parentName:"li"},"Faster Runtime")),(0,n.kt)("li",{parentName:"ol"},"\u5982\u679c\u4ecd\u6709\u95ee\u9898\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7684hybridclr\u7248\u672c"),(0,n.kt)("li",{parentName:"ol"},"\u5982\u679c\u6781\u6709\u95ee\u9898\uff0c\u8bf7\u8054\u7cfb\u6211\u4eec\u6280\u672f\u652f\u6301")),(0,n.kt)("h3",{id:"\u4f7f\u7528-unitynetcoderuntime-\u540e\u51fa\u73b0-notsupportnative2managed-\u6865\u63a5\u51fd\u6570\u7f3a\u5931\u5f02\u5e38"},"\u4f7f\u7528 Unity.netcode.runtime \u540e\u51fa\u73b0 NotSupportNative2Managed \u6865\u63a5\u51fd\u6570\u7f3a\u5931\u5f02\u5e38"),(0,n.kt)("p",null,"\u539f\u56e0\u662f \u5728Unity.netcode.runtime.dll\u4e2d NetworkManager.RpcReceiveHandler \u662finternal\uff0c \u5b9a\u4e49\u5982\u4e0b"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-csharp"},"internal delegate void RpcReceiveHandler(NetworkBehaviour behaviour, FastBufferReader reader, __RpcParams parameters);\n")),(0,n.kt)("p",null,"\u5bfc\u81f4\u751f\u6210\u5de5\u5177\u6ca1\u6709\u4e3a\u5b83\u751f\u6210\u6865\u63a5\u51fd\u6570\u3002\u4f46Unity\u53c8\u975e\u5e38trick\u5730\u5728\u6253\u5305\u65f6\u4e3a \u6807\u8bb0\u4e86 ",(0,n.kt)("inlineCode",{parentName:"p"},"[ClientRpc]")," \u548c ",(0,n.kt)("inlineCode",{parentName:"p"},"[ServerRpc]")," \u7684\u51fd\u6570\u751f\u6210 RpcReceiveHandler\n\u5904\u7406\u51fd\u6570\uff0c\u5e76\u4e14\u5f15\u7528\u4e86 internal \u7684RpcReceiveHandler\u7c7b\uff01\u5c45\u7136\u6ca1\u62a5\u9519\u3002 \u5bfc\u81f4\u51fa\u73b0\u6865\u63a5\u51fd\u6570\u7f3a\u5931\u7684\u95ee\u9898\u3002"),(0,n.kt)("p",null,"\u89e3\u51b3\u529e\u6cd5\u4e3a\u4f60\u5728AOT\u5de5\u7a0b\u91cc\u4e5f\u5b9a\u4e49\u4e00\u4e2a\u76f8\u540c\u7b7e\u540d\u7684delegate\u3002"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-csharp"}," // \u7531\u4e8e __RpcParams\u4e5f\u662finternal\u7684\uff0c\u6211\u4eec\u8fd9\u513f\u81ea\u5df1\u91cd\u65b0\u5b9a\u4e49\u4e86\u4e00\u4e2a\u4e00\u6837\u7684\u7c7b\u578b\n public struct __RpcParams\n#pragma warning restore IDE1006 // restore naming rule violation check\n {\n public ServerRpcParams Server;\n public ClientRpcParams Client;\n }\n\n public delegate void MyRpcReceiveHandler(NetworkBehaviour behaviour, FastBufferReader reader, __RpcParams parameters);\n\n")))}u.isMDXComponent=!0},3508:(e,t,i)=>{i.d(t,{Z:()=>l});const l=i.p+"assets/images/stdext_error-361f52268511c28f121b8f53aed67960.jpg"}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.813d3f29.js b/assets/js/runtime~main.3f6f929c.js similarity index 77% rename from assets/js/runtime~main.813d3f29.js rename to assets/js/runtime~main.3f6f929c.js index bf09b39f..32abac23 100644 --- a/assets/js/runtime~main.813d3f29.js +++ b/assets/js/runtime~main.3f6f929c.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,d,f,b,c={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={exports:{}};return c[e].call(d.exports,d,d.exports,r),d.exports}r.m=c,e=[],r.O=(a,d,f,b)=>{if(!d){var c=1/0;for(i=0;i=b)&&Object.keys(r.O).every((e=>r.O[e](d[o])))?d.splice(o--,1):(t=!1,b0&&e[i-1][2]>b;i--)e[i]=e[i-1];e[i]=[d,f,b]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var b=Object.create(null);r.r(b);var c={};a=a||[null,d({}),d([]),d(d)];for(var t=2&f&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,r.d(b,c),b},r.d=(e,a)=>{for(var d in a)r.o(a,d)&&!r.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,d)=>(r.f[d](e,a),a)),[])),r.u=e=>"assets/js/"+({12:"f160c361",53:"935f2afb",90:"2efe1410",220:"6ec19757",533:"b2b675dd",685:"05f46752",688:"e044ccdf",852:"6704bb9d",964:"733c4d41",1176:"84b73551",1198:"72413e93",1286:"5edba3ff",1433:"ff8c06e1",1477:"b2f554cd",1634:"e6335e6f",1744:"7bef7309",1752:"dd53d751",1876:"2bead8bc",1977:"099d81ac",1998:"6d0a6812",2e3:"90e3b8d9",2034:"21ad55e6",2182:"f739fd9f",2243:"6a812547",2288:"cfa9d267",2306:"48d46c19",2365:"a7626ec9",2505:"0a31fa0b",2535:"814f3328",2616:"e9748e8f",2815:"918ca7cd",2828:"b7eeea20",2838:"635e1cda",2857:"cab0a0b1",2965:"c9dac562",3089:"a6aa9e1f",3131:"fe886eaa",3170:"b74f6ad3",3423:"7d20b2b1",3503:"744de10c",3608:"9e4087bc",3617:"6d4a99d7",3764:"7618167c",3775:"6ecda459",3777:"303a7ab0",3892:"0f4b3ece",4140:"5aff3be2",4195:"c4f5d8e4",4369:"9e92f087",4475:"bacda3a9",4569:"39b1bd06",5041:"ebee79fe",5048:"bbd26a74",5080:"88236a13",5133:"3d63e4cd",5153:"c9aab52f",5183:"032c34c3",5367:"26b576d2",5649:"5dd67a5f",5650:"5148d8fe",5659:"27b4bb7f",5746:"5a96aca1",5936:"1566bc1f",6103:"ccc49370",6191:"04fadddf",6290:"1d92ca72",6333:"41bb1898",6468:"4dfc0651",6695:"1c517ff1",6729:"bdd7c4d4",6848:"f33e1a49",6946:"2b2937ed",7020:"ba76a366",7040:"fbd8196d",7065:"80680481",7087:"1b21ecc3",7203:"f4f82255",7589:"0ccd1bc3",7681:"a99908d5",7884:"c71319a4",7918:"17896441",7920:"1a4e3797",7972:"2e1b2baa",7991:"7faaab83",8052:"b7e34b9a",8063:"f93d3a31",8787:"c55163c5",9106:"3d345fd1",9124:"c4ad3b7e",9451:"355d470d",9462:"9b588bbf",9514:"1be78505",9650:"e8c40ffe",9671:"0e384e19",9817:"14eb3368",9822:"3d291b3d",9888:"026413ce"}[e]||e)+"."+{12:"496fad6d",53:"4ac299ac",90:"7aa895fb",220:"0f1d1daf",533:"d838adc3",685:"d3ce7589",688:"e82177f7",852:"b96087c3",964:"ef6332f7",1176:"ef154dd4",1198:"875b3be6",1286:"0dc63657",1426:"de2b7f72",1433:"3124fa05",1477:"65b4b0f1",1634:"c0a5ed97",1744:"c4d83df4",1752:"dfbaf82d",1876:"c77b044c",1977:"4adddda8",1998:"8ea6ece9",2e3:"178d4e3f",2034:"f05e7d12",2182:"ad078e06",2243:"4fb9d578",2288:"23488626",2306:"ec61efed",2365:"1a7ed67a",2505:"4483d521",2535:"9d9ea10e",2616:"8ff4f04a",2815:"0acead41",2828:"cbb0c6af",2838:"db36e186",2857:"e6128cda",2965:"122778b2",3089:"d1467cbe",3131:"ca8b8c7b",3170:"c111c296",3423:"dfcebd24",3503:"8579c521",3608:"e989768d",3617:"0b37aeca",3764:"2b7401cb",3775:"f64c2576",3777:"f657297a",3892:"c9ab43bc",4140:"d963f67e",4195:"e054211d",4369:"b5c7610f",4475:"a5874148",4569:"e57052c7",4972:"3d0f496c",5041:"4b8329c2",5048:"6790acbd",5080:"69a05ad9",5133:"ce7e4d23",5153:"ce1d501b",5183:"2f2bf67e",5367:"866585e9",5649:"5d9513d0",5650:"7c18e677",5659:"f30530ec",5746:"f49f1414",5936:"4a9652f1",6048:"779f8c90",6103:"1d3911bc",6186:"170d1bc9",6191:"d8c75018",6290:"3e88330e",6333:"5094bbc9",6468:"34a19723",6695:"58bed521",6729:"a2018f49",6848:"ab097966",6945:"94f4a660",6946:"3c504ec0",7020:"2330e1fc",7040:"79411197",7065:"62a4c757",7087:"608a04ff",7203:"5479f5ff",7589:"3ae65c80",7681:"ee00bf9a",7884:"31e49daa",7918:"f596931a",7920:"275f830e",7972:"3a03657b",7991:"aa2aec16",8052:"022da9e7",8063:"2193695e",8787:"00243471",8894:"91734414",9106:"16561613",9124:"b8f62a18",9451:"594f8519",9462:"50553e65",9514:"209895ce",9650:"d61cea8b",9671:"fae1fbd2",9817:"3f1657f1",9822:"9139634b",9888:"b74cd375"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},b="my-website:",r.l=(e,a,d,c)=>{if(f[e])f[e].push(a);else{var t,o;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var b=f[e];if(delete f[e],t.parentNode&&t.parentNode.removeChild(t),b&&b.forEach((e=>e(d))),a)return a(d)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",r.gca=function(e){return e={17896441:"7918",80680481:"7065",f160c361:"12","935f2afb":"53","2efe1410":"90","6ec19757":"220",b2b675dd:"533","05f46752":"685",e044ccdf:"688","6704bb9d":"852","733c4d41":"964","84b73551":"1176","72413e93":"1198","5edba3ff":"1286",ff8c06e1:"1433",b2f554cd:"1477",e6335e6f:"1634","7bef7309":"1744",dd53d751:"1752","2bead8bc":"1876","099d81ac":"1977","6d0a6812":"1998","90e3b8d9":"2000","21ad55e6":"2034",f739fd9f:"2182","6a812547":"2243",cfa9d267:"2288","48d46c19":"2306",a7626ec9:"2365","0a31fa0b":"2505","814f3328":"2535",e9748e8f:"2616","918ca7cd":"2815",b7eeea20:"2828","635e1cda":"2838",cab0a0b1:"2857",c9dac562:"2965",a6aa9e1f:"3089",fe886eaa:"3131",b74f6ad3:"3170","7d20b2b1":"3423","744de10c":"3503","9e4087bc":"3608","6d4a99d7":"3617","7618167c":"3764","6ecda459":"3775","303a7ab0":"3777","0f4b3ece":"3892","5aff3be2":"4140",c4f5d8e4:"4195","9e92f087":"4369",bacda3a9:"4475","39b1bd06":"4569",ebee79fe:"5041",bbd26a74:"5048","88236a13":"5080","3d63e4cd":"5133",c9aab52f:"5153","032c34c3":"5183","26b576d2":"5367","5dd67a5f":"5649","5148d8fe":"5650","27b4bb7f":"5659","5a96aca1":"5746","1566bc1f":"5936",ccc49370:"6103","04fadddf":"6191","1d92ca72":"6290","41bb1898":"6333","4dfc0651":"6468","1c517ff1":"6695",bdd7c4d4:"6729",f33e1a49:"6848","2b2937ed":"6946",ba76a366:"7020",fbd8196d:"7040","1b21ecc3":"7087",f4f82255:"7203","0ccd1bc3":"7589",a99908d5:"7681",c71319a4:"7884","1a4e3797":"7920","2e1b2baa":"7972","7faaab83":"7991",b7e34b9a:"8052",f93d3a31:"8063",c55163c5:"8787","3d345fd1":"9106",c4ad3b7e:"9124","355d470d":"9451","9b588bbf":"9462","1be78505":"9514",e8c40ffe:"9650","0e384e19":"9671","14eb3368":"9817","3d291b3d":"9822","026413ce":"9888"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,d)=>{var f=r.o(e,a)?e[a]:void 0;if(0!==f)if(f)d.push(f[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var b=new Promise(((d,b)=>f=e[a]=[d,b]));d.push(f[2]=b);var c=r.p+r.u(a),t=new Error;r.l(c,(d=>{if(r.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var b=d&&("load"===d.type?"missing":d.type),c=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+b+": "+c+")",t.name="ChunkLoadError",t.type=b,t.request=c,f[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,d)=>{var f,b,c=d[0],t=d[1],o=d[2],n=0;if(c.some((a=>0!==e[a]))){for(f in t)r.o(t,f)&&(r.m[f]=t[f]);if(o)var i=o(r)}for(a&&a(d);n{"use strict";var e,a,d,b,f,c={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={exports:{}};return c[e].call(d.exports,d,d.exports,r),d.exports}r.m=c,e=[],r.O=(a,d,b,f)=>{if(!d){var c=1/0;for(i=0;i=f)&&Object.keys(r.O).every((e=>r.O[e](d[o])))?d.splice(o--,1):(t=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[d,b,f]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var f=Object.create(null);r.r(f);var c={};a=a||[null,d({}),d([]),d(d)];for(var t=2&b&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,r.d(f,c),f},r.d=(e,a)=>{for(var d in a)r.o(a,d)&&!r.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,d)=>(r.f[d](e,a),a)),[])),r.u=e=>"assets/js/"+({12:"f160c361",53:"935f2afb",90:"2efe1410",220:"6ec19757",533:"b2b675dd",685:"05f46752",688:"e044ccdf",852:"6704bb9d",964:"733c4d41",1176:"84b73551",1198:"72413e93",1286:"5edba3ff",1433:"ff8c06e1",1477:"b2f554cd",1634:"e6335e6f",1744:"7bef7309",1752:"dd53d751",1876:"2bead8bc",1977:"099d81ac",1998:"6d0a6812",2e3:"90e3b8d9",2034:"21ad55e6",2182:"f739fd9f",2243:"6a812547",2288:"cfa9d267",2306:"48d46c19",2365:"a7626ec9",2505:"0a31fa0b",2535:"814f3328",2616:"e9748e8f",2815:"918ca7cd",2828:"b7eeea20",2838:"635e1cda",2857:"cab0a0b1",2965:"c9dac562",3089:"a6aa9e1f",3131:"fe886eaa",3170:"b74f6ad3",3423:"7d20b2b1",3503:"744de10c",3608:"9e4087bc",3617:"6d4a99d7",3764:"7618167c",3775:"6ecda459",3777:"303a7ab0",3892:"0f4b3ece",4140:"5aff3be2",4195:"c4f5d8e4",4369:"9e92f087",4475:"bacda3a9",4569:"39b1bd06",5041:"ebee79fe",5048:"bbd26a74",5080:"88236a13",5133:"3d63e4cd",5153:"c9aab52f",5183:"032c34c3",5367:"26b576d2",5649:"5dd67a5f",5650:"5148d8fe",5659:"27b4bb7f",5746:"5a96aca1",5936:"1566bc1f",6103:"ccc49370",6191:"04fadddf",6290:"1d92ca72",6333:"41bb1898",6468:"4dfc0651",6695:"1c517ff1",6729:"bdd7c4d4",6848:"f33e1a49",6946:"2b2937ed",7020:"ba76a366",7040:"fbd8196d",7065:"80680481",7087:"1b21ecc3",7203:"f4f82255",7589:"0ccd1bc3",7681:"a99908d5",7884:"c71319a4",7918:"17896441",7920:"1a4e3797",7972:"2e1b2baa",7991:"7faaab83",8052:"b7e34b9a",8063:"f93d3a31",8787:"c55163c5",9106:"3d345fd1",9124:"c4ad3b7e",9451:"355d470d",9462:"9b588bbf",9514:"1be78505",9650:"e8c40ffe",9671:"0e384e19",9817:"14eb3368",9822:"3d291b3d",9888:"026413ce"}[e]||e)+"."+{12:"496fad6d",53:"4ac299ac",90:"7aa895fb",220:"0f1d1daf",533:"d838adc3",685:"d3ce7589",688:"e82177f7",852:"b96087c3",964:"ef6332f7",1176:"ef154dd4",1198:"875b3be6",1286:"0dc63657",1426:"de2b7f72",1433:"3124fa05",1477:"65b4b0f1",1634:"c0a5ed97",1744:"c4d83df4",1752:"dfbaf82d",1876:"c77b044c",1977:"4adddda8",1998:"8ea6ece9",2e3:"178d4e3f",2034:"f05e7d12",2182:"ad078e06",2243:"4fb9d578",2288:"23488626",2306:"ec61efed",2365:"1a7ed67a",2505:"4483d521",2535:"9d9ea10e",2616:"8ff4f04a",2815:"0acead41",2828:"cbb0c6af",2838:"db36e186",2857:"e6128cda",2965:"122778b2",3089:"d1467cbe",3131:"ca8b8c7b",3170:"c111c296",3423:"dfcebd24",3503:"8579c521",3608:"e989768d",3617:"0b37aeca",3764:"2b7401cb",3775:"f64c2576",3777:"f657297a",3892:"c9ab43bc",4140:"d963f67e",4195:"e054211d",4369:"b5c7610f",4475:"a5874148",4569:"e57052c7",4972:"3d0f496c",5041:"4b8329c2",5048:"6790acbd",5080:"69a05ad9",5133:"ce7e4d23",5153:"ce1d501b",5183:"2f2bf67e",5367:"866585e9",5649:"8afa4714",5650:"7c18e677",5659:"f30530ec",5746:"f49f1414",5936:"4a9652f1",6048:"779f8c90",6103:"1d3911bc",6186:"170d1bc9",6191:"d8c75018",6290:"3e88330e",6333:"5094bbc9",6468:"34a19723",6695:"58bed521",6729:"a2018f49",6848:"ab097966",6945:"94f4a660",6946:"3c504ec0",7020:"2330e1fc",7040:"79411197",7065:"62a4c757",7087:"608a04ff",7203:"5479f5ff",7589:"3ae65c80",7681:"ee00bf9a",7884:"31e49daa",7918:"f596931a",7920:"275f830e",7972:"3a03657b",7991:"aa2aec16",8052:"022da9e7",8063:"2193695e",8787:"00243471",8894:"91734414",9106:"16561613",9124:"b8f62a18",9451:"594f8519",9462:"50553e65",9514:"209895ce",9650:"d61cea8b",9671:"fae1fbd2",9817:"3f1657f1",9822:"9139634b",9888:"b74cd375"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),b={},f="my-website:",r.l=(e,a,d,c)=>{if(b[e])b[e].push(a);else{var t,o;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var f=b[e];if(delete b[e],t.parentNode&&t.parentNode.removeChild(t),f&&f.forEach((e=>e(d))),a)return a(d)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",r.gca=function(e){return e={17896441:"7918",80680481:"7065",f160c361:"12","935f2afb":"53","2efe1410":"90","6ec19757":"220",b2b675dd:"533","05f46752":"685",e044ccdf:"688","6704bb9d":"852","733c4d41":"964","84b73551":"1176","72413e93":"1198","5edba3ff":"1286",ff8c06e1:"1433",b2f554cd:"1477",e6335e6f:"1634","7bef7309":"1744",dd53d751:"1752","2bead8bc":"1876","099d81ac":"1977","6d0a6812":"1998","90e3b8d9":"2000","21ad55e6":"2034",f739fd9f:"2182","6a812547":"2243",cfa9d267:"2288","48d46c19":"2306",a7626ec9:"2365","0a31fa0b":"2505","814f3328":"2535",e9748e8f:"2616","918ca7cd":"2815",b7eeea20:"2828","635e1cda":"2838",cab0a0b1:"2857",c9dac562:"2965",a6aa9e1f:"3089",fe886eaa:"3131",b74f6ad3:"3170","7d20b2b1":"3423","744de10c":"3503","9e4087bc":"3608","6d4a99d7":"3617","7618167c":"3764","6ecda459":"3775","303a7ab0":"3777","0f4b3ece":"3892","5aff3be2":"4140",c4f5d8e4:"4195","9e92f087":"4369",bacda3a9:"4475","39b1bd06":"4569",ebee79fe:"5041",bbd26a74:"5048","88236a13":"5080","3d63e4cd":"5133",c9aab52f:"5153","032c34c3":"5183","26b576d2":"5367","5dd67a5f":"5649","5148d8fe":"5650","27b4bb7f":"5659","5a96aca1":"5746","1566bc1f":"5936",ccc49370:"6103","04fadddf":"6191","1d92ca72":"6290","41bb1898":"6333","4dfc0651":"6468","1c517ff1":"6695",bdd7c4d4:"6729",f33e1a49:"6848","2b2937ed":"6946",ba76a366:"7020",fbd8196d:"7040","1b21ecc3":"7087",f4f82255:"7203","0ccd1bc3":"7589",a99908d5:"7681",c71319a4:"7884","1a4e3797":"7920","2e1b2baa":"7972","7faaab83":"7991",b7e34b9a:"8052",f93d3a31:"8063",c55163c5:"8787","3d345fd1":"9106",c4ad3b7e:"9124","355d470d":"9451","9b588bbf":"9462","1be78505":"9514",e8c40ffe:"9650","0e384e19":"9671","14eb3368":"9817","3d291b3d":"9822","026413ce":"9888"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,d)=>{var b=r.o(e,a)?e[a]:void 0;if(0!==b)if(b)d.push(b[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var f=new Promise(((d,f)=>b=e[a]=[d,f]));d.push(b[2]=f);var c=r.p+r.u(a),t=new Error;r.l(c,(d=>{if(r.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var f=d&&("load"===d.type?"missing":d.type),c=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+f+": "+c+")",t.name="ChunkLoadError",t.type=f,t.request=c,b[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,d)=>{var b,f,c=d[0],t=d[1],o=d[2],n=0;if(c.some((a=>0!==e[a]))){for(b in t)r.o(t,b)&&(r.m[b]=t[b]);if(o)var i=o(r)}for(a&&a(d);n