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
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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- CPU frame times spike at regular intervals in the Profiler when in Play mode with VSync enabled and using DX12 API
- UI Builder “Create Template” Fails with Invalid UXML and Missing Root Element Errors
- Decal not projected on top of a Lit Material when MSAA is disabled, and Rendering Path is Forward or Forward+ in a Standalone Build
- Separation lines between minimized fields become invisible when scrolling in the Profiler
- Drag & drop and object picker assignment fail when ExposedReference variables are used in a Timeline clip
Add comment