• Advertisement
Sign in to follow this  

promblems with Pre-compiled byte-code

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