Sign in to follow this  
_Engine_

promblems with Pre-compiled byte-code

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this