Game crashes in standalone on one specific scene?

My game works perfectly fine in the Unity editor. When building to standalone macOS, every scene works, except my main game loop, it crashes with this error.

Crashed Thread: 12 UnityGfxDeviceWorker

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
*** Terminating app due to uncaught exception
‘NSInvalidArgumentException’, reason: ‘-[MTLIGSampler textureType]:
unrecognized selector sent to instance 0x608000244c20’
terminating with uncaught exception of type NSException
abort() called

Thank you for any help!

Unity should never crash, regardless of what one is doing. Could you please submit a bug-report, following the advice given in this document? This will enable Unity Technologies to look at this issue and repair their software.