I thought we could use RefRW/RO as fields in our jobs for easy access to singleton data. But it turns out that the pointer within is not decorated with [NativeDisableUnsafePtrRestriction] so that does not work. Am I misunderstanding the usecase for RefRW/RO or is this a bug?
What I’m looking for is an easy way of saying: “Hey I need this type of singleton data in my job that I’m going to schedule, please add it to the system’s dependency but do not get it yet, I’ll do that in the job”.