-
Notifications
You must be signed in to change notification settings - Fork 19
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
Failed to create EntityStore in runtime compiled code #17
Comments
To get more info about the |
Log code: LogInfo($"{Type.GetType("UnityEngine.Application, UnityEngine")}");
try
{
_ = new EntityStore();
}
catch (Exception e)
{
do
{
LogInfo($"Name: {e.GetType().Name}\nMessage: {e.Message}\nStackTrack: {e.StackTrace}");
e = e.InnerException;
} while (e != null);
} Log:
It seems that it is running on NativeAOT. But I am sure that it is in unity runtime. |
I find its problem: It tries to load "RuntimeFeature" type which is only provided by "System.Runtime" when call |
I tried to use your framework(netstandard 2.1) in a unity mod. The mod is compiled and loaded at runtime.
The mod is compiled with "allow unsafe code" on Windows.
Framework version:
Dependencies version:
Log:
Code:
What should I do for more detailed information?
The text was updated successfully, but these errors were encountered: