Cysharp / Cysharp/YetAnotherHttpHandler
CS0103: Unsafe does not exist
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 509
- Forks
- 46
- Avg merge
- 1h 24m
- Merged PRs (30d)
- 1
Description
Overview
Upgrade to latest version(v1.11.5), it Appear compile errors at Library/PackageCache/com.cysharp.yetanotherhttphandler@*/InteropExtensions.cs and others
Detail
Error Content
Library\PackageCache\com.cysharp.yetanotherhttphandler@e38922c716c3\InteropExtensions.cs(28,49):
error CS0103: The name 'Unsafe' does not exist in the current context
it happens same error at these scripts
InteropExtensions.csUnsafeUtilities.csRequestContext.cs
Why Happened(guess)
- put on System.Runtime.CompilerServices.Unsafe.dll(v6.0.0) at Assets/Plugins/SystemRuntimeCompilerServicesUnsafe/System.Runtime.CompilerServices.Unsafe.dll. it work "auto-reference" from "Assembly-CSharp"
- but didn't work "auto-reference" from YetAnotherHttpHandler
- precompiledReferences is empty in "YetAnotherHttpHandler.Unity.asmdef" , it didn't found explicit description about "reference" in version 1.11.5
- As a result、it not Resolved System.Runtime.CompilerServices.Unsafe, and appeared "CS0103"
Environment
- Unity 6000.3.2f1
- YetAnotherHttpHandler 1.11.5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Unity 6000.3.2f1 build error in InteropExtensions.cs, UnsafeUtilities.cs, and RequestContext.cs, then inspect YetAnotherHttpHandler.Unity.asmdef and its precompiledReferences setting. Confirm the fix by rebuilding the package with System.Runtime.CompilerServices.Unsafe resolved and no CS0103 errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- build-system, game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100