Skip to content

ClassManager cache hash problem #2269

Open

Description

@rayfalling

Environment

  • Pythonnet version: 3.x
  • Python version: 3.9
  • Operating System: Windows11
  • .NET Runtime: Unity Mono

Details

  • Describe what you were trying to get done.

Abstract generic classes under C# are repeatedly added to the Cache of ClassManager, which will cause a crash when calling RestoreRuntimeData()

image

Activity

  1. rayfalling commented on Oct 18, 2023

    @rayfalling
    Author

    Maybe the MaybeType should set custom hash function?

  2. self-assigned this
    on Oct 18, 2023
  3. rayfalling commented on Oct 18, 2023

    @rayfalling
    Author

    image
    Could I use AssemblyQualifiedName to get hash?

  4. added a commit that references this issue on Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions