mellinoe / veldrid-samples

Sample projects for Veldrid
https://mellinoe.github.io/veldrid-docs/
121 stars 49 forks source link

Can't get any samples to work in Android Emulator #26

Open malixg opened 3 years ago

malixg commented 3 years ago

I've tried in Android 7.1 and Android 9 Pixel 2 emulators. In ComputeParticles.Android I get an exception line 34 of ComputeParticles.cs on CreateBuffer Veldrid.VeldridException: 'GraphicsDevice does not support structured buffers.'

In ComputeTexture.Android I get an exception line 40 of ComputeTexture.cs on factory.CreateFromSpirv System.DllNotFoundException: 'libveldrid-spirv assembly: type: member:(null)'

In Instancing.Android I get an exception on a thread in [External Code]. System.NullReferenceException Message=Object reference not set to an instance of an object. While in Break Mode, two other threads are at: Instancing Application.cs line 144 InstanceInfo ctor VeldricSurfaceView.cs line 117 beginning try block.

TexturedCube.Android won't compile for me. Severity Code Description Project File Line Suppression State Error MSB3073 The command "dotnet C:\Samples\veldrid-samples-master\bin/Debug/AssetProcessor/netcoreapp2.0/AssetProcessor.dll C:\Samples\veldrid-samples-master\bin\obj\TexturedCube\/ProcessedAssets C:\Samples\veldrid-samples-master\assets\sponza\spnza_bricks_a_diff.png" exited with code -532462766. TexturedCube (TexturedCube\TexturedCube) C:\Samples\veldrid-samples-master\Directory.Build.targets 13

I'm using Visual Studio 2019. Please advise. Thanks and stay safe.

Journeyman1337 commented 3 years ago

The ImageSharp package is broken, which is used by by the AssetProcessor project. I cannot get it to work either.