Each time my app runs SCNTransaction.commit()
to perform a more complex SceneKit animation on a simulator running iOS 15, it flushes my console with hundreds of lines containing
[SceneKit] Unreachable code: additive without provided normals is not supported
This clutter hinders debugging. Nothing visible is broken, but I don't know what it will do on real devices.
I assume the line refers to the case additive
in enum SCNMorpherCalculationMode.
However, none of my model nodes defines a morpher. I can only guess that SCNTransaction
creates these deficient morphers somewhere and removes them again before my code regains control.
Can anybody tell me how I can get rid of these messages, preferably by repairing their root cause?
The animations themselves looks fine. iOS 14 simulators do not dump these messages. I am using Xcode 13.0 RC. My app has been running for many AppStore users for several years.