Thanks for the workshop! Forgot to file this a that time, but found it again...
How to reproduce:
- clone repo: https://github.com/nathanleiby/chuck-workshop
- checkout commit known to reproduce the bug (
git checkout 137d3436939775e940d280feae4c8aaa4af047ff)
cd orbits/ then run chuck main.ck
When the UI is running, press 2 on the keyboard to spawn a planet.
When the planet hits an anchor point, the program will crash.
$ chuck main.ck
key down 2 (CodAe = 50 )
"Using SinOsc variant" :(string)
[ChuGL]: ERRORUncaptured device error: type 1 (Validation Error
Caused by:
In wgpuDeviceCreateBindGroup, label = 'ScenePass[26:ChuGL Default ScenePass] for Scene[21:] @group(1)'
Binding 1 has a different type (Sampler(Filtering)) than the one in the layout ("UniformBuffer, StorageBuffer or ReadonlyStorageBuffer")
)