-
Notifications
You must be signed in to change notification settings - Fork 538
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
fix for #2311 #2316
base: master
Are you sure you want to change the base?
fix for #2311 #2316
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider changing the message to be something like:
"Disabling the enabled state of an object in OnStart() is not supported.\n"
"OnStart() is called just before OnEnabled(), which expects the enabled state to be true.\n"
"See:\n"
"https://docs.flaxengine.com/manual/scripting/events.html?tabs=code-csharp\n"
"If you want to force the object to be disabled when the game is started, consider using OnAwake()."
i think now it is stable |
Maybe a better message now? I tried to modify it less and keep the language more readable. |
look ok |
OnAwake triggered it also in rare cases new massange
|
replaced ASSERT with Platform::CheckFailed for now, the #2311 can be moved to 1.9added a check and a massage
ps.
there is not real way to fix it in the sake what state is should be selected