While loop bug? Stuck on empty

I have no desire to go over the same argument with you again @GoToLoop No vaguely competent Java programmer is going to agree with you. The JMM exists for a reason - working outside of it you cannot be confident of anything. You may have code that works in one scenario, on one JVM, on one OS or CPU (hardware behaviour very relevant here too) - that does not mean you can be confident in it. Your camera example is a particularly useless example for this - it’s almost certainly not going to be JIT compiled, and you also have no idea what’s going on in the underlying libraries (maybe ask the maintainer! :wink:) that could cause visibility to happen. It has no bearing on your point, or the OP’s problem! (it’s also going to break with P2D / P3D if you have a slow system)