Ullrich Praetz

Results 51 comments of Ullrich Praetz

To get more info about the `TypeInitializationException` add a try / catch and log its `InnerException` property. The log should contain the exception class `Name`, the `Message` and `StackTrace`. In...

Currently the check involves: - Are components added or removed without a command buffer - Are tags added or removed without a command buffer In these cases the exception should...

I checked this issue when it was new but forgot to reply. Yes, deserialization of properties in struct are currently not supported. Deserialization of struct fields is supported. IMHO support...

When starting `Friflo.Json.Fliox` `System.Text.Json` was not available. `Friflo.Json.Fliox` supports Unity and is optimized for performance. I currently don't know is both things apply to `System.Text.Json`. Maybe I change serialization to...

hi, It tried to reproduce the exception without success in a small test. One question. Did you register the `Health` component with ```cs aot.RegisterComponent(); ``` as mentioned at [Examples -...

I assume you are using .NET 8? I am using: \Program Files\dotnet\sdk\8.0.202

According to this post: https://stackoverflow.com/questions/77776702/net8-nativeaot-type-getproperties-doesnt-work-for-some-types-but-does-for-ot Can you try adding the attribute `[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields)]` to the struct. I assume `StatusEffect Status` is not used anywhere in your assembly. right?

> I can try to make a reproducible project, but it will take time. That would be very helpful! The workaround using a property - like `public StatusEffect Status {...

> Another question came up. Should we create an open issue? Thx for reporting this. I created an new issue: https://github.com/friflo/Friflo.Json.Fliox/issues/53

The type declarations using `float2` and `float3` does not compile in C#. Compiler error: ` Error CS0523 : Struct member 'float2.xyz' of type 'float3' causes a cycle in the struct...