I was mistakenly calling UI::Text (also happens for UI::Checkbox, surely other elements as well) within Main(). This crashes the game, when instead there should be a warning or compilation error telling the user not to call these outside of Render, RenderInterface, etc.
I was mistakenly calling
UI::Text
(also happens forUI::Checkbox
, surely other elements as well) withinMain()
. This crashes the game, when instead there should be a warning or compilation error telling the user not to call these outside ofRender
,RenderInterface
, etc.