Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Failed to find entry-points

未关闭
#203 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@thana-than 已经在做这个了。

开始于 2026年6月12日。

  • #207 来自 @thana-than —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
冷清
技术栈
csharp, unity
领域
game-dev, tooling

调研方向

使用报告中提到的程序集 FastScriptReload.Editor 和 Plugins/Harmony/net48/0Harmony.dll,在 Unity 6000.1.1f1 中执行标准域重载时重现该故障。从“Failed to find entry-points”和“Read out of bounds”跟踪开始,然后验证重载是否在没有此错误的情况下完成。

由索引模型根据 Issue 内容生成。

描述

Hello there, first thank you for making a good and quality asset like this, is very useful and Unity should be integrate it.
Anyway, the tool work great, but i have a error at every reload domain (standard), this is the error

Failed to find entry-points: System.Exception: Error while loading assembly references for FastScriptReload.Editor ---> System.Exception: Error while hashing assembly C:\Users\ricca\Documents\Unity_projects\Shadow Project\Library\PackageCache\com.handzlikchris.fastscriptreload@3972e144fbf1\Plugins\Harmony\net48\0Harmony.dll ---> System.AggregateException: One or more errors occurred. (Error while hashing type reference '1000138' in assembly '0Harmony.dll') ---> System.Exception: Error while hashing type reference '1000138' in assembly '0Harmony.dll' ---> System.BadImageFormatException: Read out of bounds. at System.Reflection.Throw.OutOfBounds () [0x00005] in <c9c31fd33c3d4c7697343a4b7967540b>:0 at System.Reflection.Internal.MemoryBlock.CheckBounds (System.Int32 offset, System.Int32 byteCount) [0x0000e] in <c9c31fd33c3d4c7697343a4b7967540b>:0 at System.Reflection.Internal.MemoryBlock.PeekUInt32 (System.Int32 offset) [0x00000] in <c9c31fd33c3d4c7697343a4b7967540b>:0 at System.Reflection.Internal.MemoryBlock.PeekHeapReference (System.Int32 offset, System.Boolean smallRefSize) [0x0000b] in <c9c31fd33c3d4c7697343a4b7967540b>:0 at System.Reflection.Metadata.Ecma335.AssemblyRefTableReader.GetName (System.Int32 rowId) [0x0000b] in <c9c31fd33c3d4c7697343a4b7967540b>:0 at System.Reflection.Metadata.AssemblyReference.get_Name () [0x00020] in <c9c31fd33c3d4c7697343a4b7967540b>:0 at Burst.Compiler.IL.Hashing.CacheBuilder.Util.SrmExtensions.GetAssemblyNameReference (System.Reflection.Metadata.AssemblyReference& assemblyReference, System.Reflection.Metadata.MetadataReader metadataReader) [0x00000] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Hashing.CacheBuilder.Util.CachingMetadataReader.GetAssemblyNameReferenceImpl (System.Reflection.Metadata.AssemblyReferenceHandle handle) [0x0000d] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at System.Collections.Concurrent.ConcurrentDictionary2[TKey,TValue].GetOrAdd (TKey key, System.Func2[T,TResult] valueFactory) [0x00034] in <8db6ec373e6d40bd9d38c8037d358c4e>:0 at Burst.Compiler.IL.Hashing.CacheBuilder.Util.CachingMetadataReader.GetAssemblyNameReference (System.Reflection.Metadata.AssemblyReferenceHandle handle) [0x00000] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Hashing.CacheBuilder.Util.SrmExtensions.WriteAssemblyNameTo (System.Reflection.Metadata.TypeReference& typeReference, Burst.Compiler.IL.Helpers.Hash128Builder builder, Burst.Compiler.IL.Hashing.CacheBuilder.Util.CachingMetadataReader reader, Burst.Compiler.TargetFramework targetFramework) [0x00037] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashTypeReferenceImpl (System.Reflection.Metadata.TypeReferenceHandle typeReferenceHandle) [0x00089] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashTypeReference (System.Reflection.Metadata.TypeReferenceHandle typeReferenceHandle) [0x00000] in <5406c2791fce4dc5a3b066b06a88ddee>:0 --- End of inner exception stack trace --- at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashTypeReference (System.Reflection.Metadata.TypeReferenceHandle typeReferenceHandle) [0x00031] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher+<>c__DisplayClass14_0.<HashImpl>b__6 (System.Reflection.Metadata.TypeReferenceHandle typeReferenceHandle, System.Threading.Tasks.ParallelLoopState loopState, System.Int64 i) [0x00000] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.ForEach[T] (System.Collections.Generic.IEnumerable1[T] elements, System.Action3[T1,T2,T3] callback) [0x00018] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher+<>c__DisplayClass14_0.<HashImpl>b__1 () [0x00000] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <8db6ec373e6d40bd9d38c8037d358c4e>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <8db6ec373e6d40bd9d38c8037d358c4e>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x001c8] in <8db6ec373e6d40bd9d38c8037d358c4e>:0 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout) [0x00000] in <8db6ec373e6d40bd9d38c8037d358c4e>:0 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <8db6ec373e6d40bd9d38c8037d358c4e>:0 at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashImpl () [0x00243] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashAssembly (System.String filePath, System.Threading.Tasks.TaskFactory taskFactory, Burst.Compiler.TargetFramework targetFramework) [0x00009] in <5406c2791fce4dc5a3b066b06a88ddee>:0 --- End of inner exception stack trace --- at Burst.Compiler.IL.Hashing.CacheBuilder.ILHasher.HashAssembly (System.String filePath, System.Threading.Tasks.TaskFactory taskFactory, Burst.Compiler.TargetFramework targetFramework) [0x0002e] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheLoader.CreateHashingResult (Mono.Cecil.AssemblyNameReference assemblyNameReference, Burst.Compiler.IL.AssemblyLoader assemblyLoader, Burst.Compiler.IL.Helpers.DebugLogWriter debugLogWriter) [0x001b9] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore.GetAssemblyState (System.String assemblyName, Burst.Compiler.IL.AssemblyLoader assemblyLoader) [0x000a0] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Server.EntryPointMethodFinder.LoadAllAssemblyReferences (Mono.Cecil.AssemblyDefinition asmDef, System.Collections.Generic.Dictionary2[TKey,TValue] visited, System.Collections.Generic.Dictionary2[TKey,TValue] jobProducers, Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore assemblyStore, Burst.Compiler.IL.AssemblyLoader assemblyLoader) [0x00025] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Server.EntryPointMethodFinder.LoadAllAssemblyReferences (Mono.Cecil.AssemblyDefinition asmDef, System.Collections.Generic.Dictionary2[TKey,TValue] visited, System.Collections.Generic.Dictionary2[TKey,TValue] jobProducers, Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore assemblyStore, Burst.Compiler.IL.AssemblyLoader assemblyLoader) [0x0018a] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Server.EntryPointMethodFinder.LoadAllAssemblyReferences (Mono.Cecil.AssemblyDefinition asmDef, System.Collections.Generic.Dictionary2[TKey,TValue] visited, System.Collections.Generic.Dictionary2[TKey,TValue] jobProducers, Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore assemblyStore, Burst.Compiler.IL.AssemblyLoader assemblyLoader) [0x0018a] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Server.EntryPointMethodFinder.FindEntryPoints (System.String[] rootAssemblyNames, Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore assemblyStore, Burst.Compiler.IL.AssemblyLoader assemblyLoader, Burst.Compiler.IL.NativeCompilerOptions options, Burst.Compiler.IL.Server.ProfileDelegate profileCallback, System.Boolean includeRootAssemblyReferences, System.Boolean splitTargets) [0x00071] in <5406c2791fce4dc5a3b066b06a88ddee>:0 --- End of inner exception stack trace --- at Burst.Compiler.IL.Server.EntryPointMethodFinder.FindEntryPoints (System.String[] rootAssemblyNames, Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore assemblyStore, Burst.Compiler.IL.AssemblyLoader assemblyLoader, Burst.Compiler.IL.NativeCompilerOptions options, Burst.Compiler.IL.Server.ProfileDelegate profileCallback, System.Boolean includeRootAssemblyReferences, System.Boolean splitTargets) [0x00094] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Server.CompilerServer+<>c__DisplayClass18_1.<FindMethods>b__0 (Burst.Compiler.IL.Server.Caching.CacheManager cacheManager) [0x0005e] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Server.CompilerServer+<>c__DisplayClass26_01[TResult].b__0 () [0x00145] in <5406c2791fce4dc5a3b066b06a88ddee>:0
at Burst.Compiler.IL.Server.CompilerServer.RunTask[TResult] (Burst.Compiler.IL.Server.TargetKey target, System.String taskName, System.String[] assemblyFolders, System.Threading.CancellationToken cancellationToken, System.Func2[T,TResult] function) [0x00131] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Server.CompilerServer.FindMethods (Burst.Compiler.IL.Server.CompilerServerOptions options, Burst.Compiler.IL.Aot.AotCompilerOptions aotOptions, Burst.Compiler.IL.AssemblyDefinesDict assemblyDefines, Burst.Compiler.IL.Server.TargetKey target, Burst.Compiler.IL.Server.Caching.CacheManager cacheManager, Burst.Compiler.IL.CompilerStatistics stats, System.Threading.CancellationToken cancellationToken) [0x00299] in <5406c2791fce4dc5a3b066b06a88ddee>:0 at Burst.Compiler.IL.Server.CompilerServer+<>c__DisplayClass26_01[TResult].b__0 () [0x00145] in <5406c2791fce4dc5a3b066b06a88ddee>:0
at Burst.Compiler.IL.Server.CompilerServer.RunTask[TResult] (Burst.Compiler.IL.Server.TargetKey target, System.String taskName, System.String[] assemblyFolders, System.Threading.CancellationToken cancellationToken, System.Func`2[T,TResult] function) [0x00131] in <5406c2791fce4dc5a3b066b06a88ddee>:0
at Burst.Compiler.IL.Server.CompilerServer.Compile (Burst.Compiler.IL.Server.CompilerServerOptions options, Burst.Compiler.IL.Server.CompilationMessageStreamer streamer, System.Threading.CancellationToken cancellationToken) [0x001ca] in <5406c2791fce4dc5a3b066b06a88ddee>:0

While compiling job:
`

I'm using Unity 6000.1.1f1 URP

主要语言
C#
星标
2.2k
派生
169
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

handzlikchris/FastScriptReload 的其他 Issue

查看 handzlikchris/FastScriptReload 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。