Search Issue Tracker

Active

Under Consideration for 6000.6.X

Votes

0

Found in

6000.3.5f2

6000.4.0b9

6000.5.0a7

6000.6.0a1

Issue ID

UUM-135544

Regression

No

MonoPInvokeCallback attribute on a generic method with "Optimize for code size and build time" set IL2CPP doesn't scan for generic instances

IL2CPP

-

Discussed in slack {}thread{}:

The issue is that the MonoPInvokeCallback attribute is on a generic method and with "Optimize for code size and build time"  set IL2CPP isn't scanning for generic instances so it doesn't generate the code needed to support OpenXRCustomLayerHandler<XrCompositionLayerQuad>::OnCreatedSwapchainCallback .

This is a known/expected issue but we've never gotten a user bug report about it.  It was reported internally and was fixed in 6.5.   If the customer would want this back ported (I don't see a version in the ticket) please report this as a bug against IL2CPP.

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.