-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
1.14 gen code with jenny, meet some error. #1030
Comments
I recommend using Match-One Jenny.properties if you have problems. Update the search paths accordingly, if your folder structure is different. |
Someone from the Entitas Discord chat had a similar issue which is now fixed for him: Quote from Rene:
|
@woshihuo12 did you make it work? |
|
and i meet a new error with jenny gen. but i can generate without server mode. |
@woshihuo12 I see your Jenny.properties is not setup correctly. A good start is to use the one from Match-One: https://github.com/sschmid/Match-One/blob/main/Jenny.properties Jenny can fix those issue for you by running
but try using the Jenny.properties from Match-One first, because it's setup correctly already. Also, please make sure you have dotnet 6.0 installed. You can check the version by running
|
If you don't have Entitas installed at the default location (Assets/Entitas), please update your |
same error here, after I run doctor and fix command, every thing work well. below is my operation:
|
File name: 'Microsoft.CodeAnalysis, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at Entitas.Roslyn.CodeGeneration.Plugins.CleanupDataProvider..ctor
at Entitas.Roslyn.CodeGeneration.Plugins.CleanupDataProvider..ctor()
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
--- End of inner exception stack trace ---
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type)
at Jenny.Generator.CodeGeneratorUtil.<>c.b__3_0(Type type)
at System.Linq.Enumerable.WhereSelectListIterator
2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator
1.ToArray()at Jenny.Generator.CodeGeneratorUtil.LoadFromPlugins(Preferences preferences)
at Jenny.Generator.CodeGeneratorUtil.CodeGeneratorFromPreferences(Preferences preferences)
at Jenny.Generator.Cli.GenerateCommand.Run()
at DesperateDevs.Cli.Utils.AbstractCommand.Run(CliProgram program, String[] args)
at DesperateDevs.Serialization.Cli.Utils.AbstractPreferencesCommand.Run(CliProgram program, String[] args)
at Jenny.Generator.Cli.ServerCommand.OnReceived(AbstractTcpSocket socket, Socket client, Byte[] bytes)Exception has been thrown by the target of an invocation.
The text was updated successfully, but these errors were encountered: