Do ObjectIDs work with EXRs with Mac?

I’m having trouble getting Unreal to output Object IDs in the EXRs on Mac. Is this a Mac bug? Has anyone successfuly done this or is willing to take a crack at it for me?

Works fine on a PC but the class I’m teaching unfortunately uses Macs…

Thanks.