So I'm having this weird issue where I'm trying to load a container from a file, and tgui throws an assertion failed error at me:
(note that I got the modified version of WidgetLoader we talked about yesterday, so the line might not match yours, but it's the first line of function loadContainer())
Here's the file I'm trying to load:
I couldn't find anything on the markup of Containers or if they're even allowed in files, hope you can solve this one for me
Thanks for your help in advance.
Code Select
Assertion failed: container != nullptr, file ../WidgetLoader.cpp, line 149
(note that I got the modified version of WidgetLoader we talked about yesterday, so the line might not match yours, but it's the first line of function loadContainer())
Here's the file I'm trying to load:
Code Select
Container.MM
{
position: (100, 100);
size: (100, 100);
visible: true;
enabled: true;
opacity: 1;
}
I couldn't find anything on the markup of Containers or if they're even allowed in files, hope you can solve this one for me
Thanks for your help in advance.