Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
sschmid on main
sschmid on main
Hi guys, I'm picking up an old Entitas project that has some custom code generators and trying to make it generate on the command line so we're not tied to doing it inside Unity. After tweaking Jenny.properties to make it work with Roslyn, when I add our custom generator I get a few errors like this:
Parent class failed to load, due to: Generic Type Definition failed to init, due to: Error getting the interfaces of
OtterShared.Entitas.Extensions.AbstractConfigComponent`1[T] due to Error Loading class assembly:/Users/nelson/dev/
otter/otter-client/OtterClient/Library/ScriptAssemblies/OtterShared.dll type:IConfigComponent'1 member:(null)
assembly:/Users/nelson/dev/otter/otter-client/OtterClient/Library/ScriptAssemblies/OtterShared.dll
type:AbstractConfigComponent'1 member:(null) assembly:/Users/nelson/dev/otter/otter-client/OtterClient/Library/
ScriptAssemblies/OtterShared.dll type:AbstractConfigComponent'1 member:(null)
I'm guessing that we need to do some changes to make the generator work with Roslyn, but couldn't find any documentation about it. Can anyone point me to the right docs or give some pointers in the right direction, as at the moment I'm a bit lost. Thanks!