Jump to content
  • Advertisement
Sign in to follow this  
kunitoki

assert reached when compiling a wrong script

This topic is 4485 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

if you try to compile this with an empty engine in 2.7.0 wip (without registering any functions or classes):
void testFunction ()
{
 Assert@ assertReached = tryToAvoidMeLeak();
}

an assert is thrown in as_compiler.cpp line 6127 and a lot of memory leaks follows. i came up on this running a script without remembering to explicitly tell the engine to register some specific plugin's functions and classes; was a mistake after all, but would be nice to tell the user is doing something wrong, not crashing his current session ;/

Share this post


Link to post
Share on other sites
Advertisement
Probably related,

but then I register a class, and I try to call a member function which does not exists, I also get an assert.

Share this post


Link to post
Share on other sites
Sounds like it is the same problem. Would you mind giving the new version a try to see if the problem persists?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!