Search Issue Tracker

Not Reproducible

Votes

0

Found in

2019.4.4f1

Issue ID

1265164

Regression

No

NotSupportedException 'MonoPInvokeCallback' appears when using SteamInventoryResultReady_t in the game released on Steam

IL2CPP

-

How to reproduce:
1. Create a new project
2. Go to http://steamworks.github.io/, download and import Unity SDK
3. Add some code that callbacks SteamInventoryResultReady_t
4. Release the game on Steam
5. Launch the game from Steam

Actual results: Error appears: "To marshal a managed method, please add an attribute named 'MonoPInvokeCallback' to the method definition."
Expected results: No errors

Reproducible with: 2019.4.4f1
Cannot test with: 2018.4.27f1, 2019.4.3f1, 2019.4.5f1, 2019.4.11f1, 2020.1.6f1, 2020.2.0b3 (Can not reproducible locally)

Add comment

Log in to post comment