I am still in the process of translating the c++ triangles example to c#.
This works pretty well and I am pretty much done. Every object I create I validate() and right now it all comes back ok.
However when I launch I get the following error:
Unknown error (Details: Function “_rtContextLaunch2D” caught exception: Assertion failed: “acp->isUsedAsSingleSemanticType()”, file: , line: 1221)
I searched around, tried disabling parts of the scene to narrow it down, but to no avail.
Any hints on what might cause this?
Edit: Some more info…
As geometry I only use a default Unity cube and get vertices etc. from there.
I tried removing all but one material and different programs for the camera. I also double checked the variables, since the semantic part in the error message seems to point that way, but couldn’t find anything suspicious.