Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by ErrorMessage404LOL · Feb 21 at 10:43 AM · unityeditorerror message

Unexpected exception System.IO.EndOfStreamException: Unable to read beyond the end of the stream.

Hey,

I get this error massage every time I start the editor or while compiling of my scripts. Does anyone know, what that means?

 Unexpected exception System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.BinaryReader.FillBuffer (System.Int32 numBytes) [0x0007a] in :0 
   at System.IO.BinaryReader.ReadInt32 () [0x00026] in :0 
   at Burst.Compiler.IL.Hashing.Storage.ILHashingResultRuntime.GetHeader (System.String hashCachePath) [0x0000e] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheLoader.CreateHashingResult (System.String assemblyFilePath) [0x0003d] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Hashing.CacheRuntime.AssemblyState..ctor (Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore+LoadHashingResultDelegate loadHashingResultCallback, Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore+GetStringWriterDelegate getStringWriterCallback, Mono.Cecil.AssemblyNameReference assemblyName, System.String filePath, Mono.Cecil.AssemblyDefinition assemblyDefinition) [0x0000d] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore.GetAssemblyState (System.String assemblyName, zzzUnity.Burst.CodeGen.AssemblyLoader assemblyLoader) [0x0005d] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Hashing.CacheRuntime.LocalHashCacheAssemblyStore.GetAssemblyState (System.String assemblyName) [0x00000] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Hashing.CacheRuntime.Util.TypeReferenceExtensions.GetAssemblyState (Mono.Cecil.TypeReference typeReference, Burst.Compiler.IL.Hashing.CacheRuntime.LocalHashCacheAssemblyStore assemblyStore) [0x00011] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Hashing.CacheRuntime.Util.TypeReferenceExtensions.ToILType (Mono.Cecil.TypeReference typeReference, Burst.Compiler.IL.Hashing.CacheRuntime.LocalHashCacheAssemblyStore assemblyStore) [0x001db] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Hashing.CacheRuntime.Util.MethodReferenceExtensions.ToILTypes (Mono.Collections.Generic.Collection`1[T] types, Burst.Compiler.IL.Hashing.CacheRuntime.LocalHashCacheAssemblyStore assemblyStore) [0x0001d] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Hashing.CacheRuntime.Util.MethodReferenceExtensions.CreateGenericContext (Mono.Cecil.MethodReference methodReference, Burst.Compiler.IL.Hashing.CacheRuntime.LocalHashCacheAssemblyStore assemblyStore) [0x00044] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Hashing.CacheRuntime.ILFinalHashCalculator.GetHashImpl () [0x000ad] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Hashing.CacheRuntime.ILFinalHashCalculator.GetHash (Mono.Cecil.MethodReference[] methodReferences, Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore assemblyStore, zzzUnity.Burst.CodeGen.AssemblyLoader assemblyLoader, Burst.Compiler.IL.NativeCompilerOptions options, System.Action`2[T1,T2] onVisitItem) [0x0000c] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.NativeCompiler.ComputeHash () [0x0004e] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Jit.JitCompiler.CompileMethodInternal (Burst.Compiler.IL.Jit.JitResult result, System.Collections.Generic.List`1[T] methodsToCompile, Burst.Compiler.IL.Jit.JitOptions jitOptions) [0x0017e] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Jit.JitCompiler.CompileMethods (Burst.Compiler.IL.Jit.JitMethodGroupRequest& request, Burst.Compiler.IL.Jit.JitCompilationRequestType requestType) [0x00209] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Jit.JitCompiler.CompileMethod (Burst.Compiler.IL.Jit.MethodReferenceWithMethodRefString method, Burst.Compiler.IL.Jit.JitOptions jitOptions, Burst.Compiler.IL.Jit.JitCompilationRequestType requestType) [0x00023] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
   at Burst.Compiler.IL.Jit.JitCompilerService+CompilerThreadContext.Compile (Burst.Compiler.IL.Jit.JitCompilerService+CompileJob job, Burst.Compiler.IL.Jit.JitCompilationRequestType requestType) [0x00491] in <685f0c65f2a448a78ba2734aa17d6be3>:0 
 
 While compiling job: System.Void UnityEngine.Jobs.IJobParallelForTransformExtensions/TransformParallelForLoopStruct`1::Execute(T&,System.IntPtr,System.IntPtr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,System.Int32)
 at :line 0


Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by IliqNikushev · Mar 02 at 06:48 PM

Delete the Package Cache / Burst Cache and reopen project fixed it

See https://forum.unity.com/threads/all-my-jobs-suddenly-refuse-to-compile-with-system-io-endofstreamexception.1227273/

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

141 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Popup showing "The required operation requires elevation" - Roslyn 1 Answer

error CS1704: An assembly with the same simple name 'Editor' has already been imported. Try removing one of the references or sign them to enable side-by-side. 0 Answers

win32 error when i create a project or a c# script in unity 2019,win32 exeption error when i create a project in unity 2019 0 Answers

What does "Invalid serialized file header" even mean and how to get rid of it? 1 Answer

error CS0117: `UnityEngine.Graphics' does not contain a definition for `DrawProceduralIndirectNow' 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges