Error while generating hash for method references - default interface methods

I tried experimenting with default interface methods to extend an API that involves users scheduling concrete generic jobs. I was quickly met with this dreaded error. And going into the Burst inspector and clicking on one of the jobs, I quickly learned that Burst is having trouble locating an empty defaulted interface method.

Are such methods supposed to be supported? And if not, can Burst please provide a better error message? I encountered this with 1.8.3, and then upgraded to 1.8.4 and cleared Burst cache and the error still persists.

IN-39884 if you want a copy of the project for yourself. I didn’t discover the error in the Burst Inspector until after submitting the bug.

What version of Unity?

In 202.3 (C# 8) they were not supported:

Newer versions make no mention of unsupported features of earlier C# versions so even though they are not listed as unsupported in 2021.3+ they may still remain unsupported.

2022.2.
ISystem has them, so they are supported in the normal runtime. Just not in Burst apparently?

Hello @DreamingImLatios , yeah Burst currently does not support default interface methods
But, it is the feature I’m currently working on. So there is going to be support for it in the not-too-distant future if all goes according to plan.

5 Likes