Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassManager cache hash problem #2269

Open
rayfalling opened this issue Oct 18, 2023 · 2 comments
Open

ClassManager cache hash problem #2269

rayfalling opened this issue Oct 18, 2023 · 2 comments
Assignees
Labels

Comments

@rayfalling
Copy link

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

@rayfalling
Copy link
Author

Maybe the MaybeType should set custom hash function?

@filmor filmor added the bug label Oct 18, 2023
@filmor filmor self-assigned this Oct 18, 2023
@rayfalling
Copy link
Author

image
Could I use AssemblyQualifiedName to get hash?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants