Jump to content
  • Advertisement
Sign in to follow this  
_Engine_

promblems with Pre-compiled byte-code

This topic is 2175 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

Hi!

Strange things happen when i use pre-compiled byte-code. When i loading byte code throught module->loadbytecode i got error -1. When i look into source code i found that function check realFunc->IsSignatureEqual(func) do not pass. This happen in as_restore.cpp in 902 line. Why this may happen may be there are some bug with shared classes because looks like check fails on shared class constructors. Edited by _Engine_

Share this post


Link to post
Share on other sites
Advertisement
Which version of AngelScript are you using?

On what platform are you working?

Have you registered the same interface with AngelScript as when the script was first compiled?

Share this post


Link to post
Share on other sites
Hi!

I'm working with 2.24.0a. I registering only global properies and when i loading byte-code configuration same with condition after compliation of script. I found this issue on Android but on PC situation are similar.

Share this post


Link to post
Share on other sites
Try upgrading to the latest WIP from the svn. There has been a few bug fixes to the bytecode serialization since 2.24.0a that might be related.

If that doesn't help, I'll need to see the script you have difficulty loading so I can try to reproduce the problem myself. If possible try to reduce the size of the script to make it easier to pinpoint the error.

Regards,
Andreas

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!