Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unity 2022.3.19,Cannot resolve symbol 'Shared' #34

Open
vinsonzou opened this issue Apr 9, 2024 · 2 comments
Open

Unity 2022.3.19,Cannot resolve symbol 'Shared' #34

vinsonzou opened this issue Apr 9, 2024 · 2 comments

Comments

@vinsonzou
Copy link

IL2CPP
.Net Fromework

outputBuffer = ArrayPool<byte>.Shared.Rent(outputBufferSize);

Unity Console error output

error CS0117: 'ArrayPool<byte>' does not contain a definition for 'Shared'
@oleg-st
Copy link
Owner

oleg-st commented Apr 9, 2024

ArrayPool<byte> is contained in System.Buffers package

@vinsonzou
Copy link
Author

vinsonzou commented Apr 11, 2024

ArrayPool<byte> is contained in System.Buffers package

.Net Framework not support ArrayPool.Shared

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants