Closed SimonDarksideJ closed 1 year ago
Using native byte buffers requires unsafe, and we absolutely need this to support external video inside the plugin. I'm not sure if there's an easy way to set the unsafe flag on import. Are you aware of a method?
I guess the alternative is to disable use of Unity-supplied video streams unless the user explicitly requests it.
The following error is reported immediately after importing the ARUnity X asset (v1.1.11)
Assets\artoolkitX-Unity\Scripts\ARXUtilityFunctions.cs(149,3): error CS0227: Unsafe code may only appear if compiling with /unsafe. Enable "Allow 'unsafe' code" in Player Settings to fix this error.