Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.3.X

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

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.