Search Issue Tracker

Fixed in 2020.1

Fixed in 2019.3

Votes

0

Found in

2018.4

2019.2

2019.3

2019.3.0f1

2020.1

Issue ID

1204247

Regression

No

[IL2CPP] Generated code fails to compile when building a project that uses AssimpNet dll

IL2CPP

-

How to reproduce:
1. Open the user attached "IL2CPP_Bug" project
2. Make sure the scripting backend is set to IL2CPP
3. Build the project

Expected results: Project builds without any errors
Actual results: A project fails to build, compiler errors are thrown

Reproducible with: 2018.4.14f1, 2019.2.16f1, 2019.3.0f3, 2020.1.0a16

Could not test on 2017.4.35f1 due to missing IL2CPP.

Additional note:
1. The project builds successfully if scripting backend is set to Mono
2. The errors that are thrown to the console:
error C2664: 'void il2cpp_codegen_memcpy(void *,const void *,size_t)': cannot convert argument 2 from 'intptr_t' to 'const void *'
error C2440: '=': cannot convert from 'Color3D_t446A6303FD7DE0C62C9593143728E7AF76F00FAE' to 'void *'
error C2100: illegal indirection

Comments (3)

  1. Def479958f168c915b67c13bfe5efd07?d=mm

    appspopo4

    Dec 31, 2019 07:36

    u so much for this. I was in https://luckypatcher.pro/ to this issue and tired to tinker around to check if its possible but couldnt get it done. Now that i have seen the way you did it, thanks guys
    with
    regards

  2. Def479958f168c915b67c13bfe5efd07?d=mm

    appspopo4

    Dec 31, 2019 07:35

    Thanks for sharing.I found a lot of interesting information https://kodi.software/ here. A really good post, very thankful and hopeful that you will write many more posts like this one.

  3. Def479958f168c915b67c13bfe5efd07?d=mm

    appspopo4

    Dec 31, 2019 07:33

    hank you so m https://plex.software uch for this. I was into this issue and tired to tinker around to check if its possible but couldnt get it done. Now that i have seen the way you did it, thanks guys
    with
    regards

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.