MessagePack-CSharp/MessagePack-CSharp

FormatterNotRegisteredException: Unity.Mathematics.int2 is not registered in resolver

Open

#1.603 aberto em 13 de abr. de 2023

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)C# (688 forks)batch import
help wantedunity

Métricas do repositório

Stars
 (5.056 stars)
Métricas de merge de PR
 (Mesclagem média 6m) (3 fundiu PRs em 30d)

Description

Is your feature request related to a problem? Please describe.

The Unity Mathematics package has several simple numeric types that I imagine could be easily supported within the UnityShim

Describe the solution you'd like

When I use int2 it throws the error: "FormatterNotRegisteredException: Unity.Mathematics.int2 is not registered in resolver". Would like for int2 to have a registered format

Describe alternatives you've considered

I could change to a Vector2, VectorInt2, or two separate int fields, but those solutions wouldn't be as graceful.

Additional context

Supporting Unity mathematics seems like a good idea if you want to continue to attract Unity users to this package. https://docs.unity3d.com/Packages/com.unity.mathematics@1.0/manual/index.html

Guia do colaborador