Hello! I’m having a problem that only occurs when I run Simulate Level. If i run the project through the Play in Editor, then everything is fine. The mistake Blueprint Runtime Error: “Accessed None trying to read (real) property K2Node_DynamicCast_AsPrimitive_Component in not an UClass” appears only in two blueprints on the branch node, although the same logic is written in several other blueprints…
and as far as I understand it’s related to this place
where I’m trying to get a character’s sphere collider. I do this through the interface and through a function inside the character.
Is it possible that this is due to the fact that the default value is empty?
But if so, why does the same logic work in other blueprints, but the error occurs in only two of them? And is this a problem at all if no errors appear during play in editor?






