Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem!
Geant4 Version: 11.2.1
Operating System: Ubuntu
I have developed a DetectorMessenger, and initially, everything is OK. However, upon running the program in interactive mode, I encountered an issue after modifying the source parameters through the command line. Specifically, after entering the command “/run/reinitializeGeometry” and pressing the play button, a critical error occurred.
It appears that this problem is unique to the newer version of the software, as indicated by the following error message:
-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : ToolsSG-0000
issued by : G4ToolsSGSceneHandler::GetOrCreateNode
World mis-match - not possible(!?)
*** Fatal Exception *** core dump ***
**** Track information is not available at this moment
**** Step information is not available at this moment
-------- EEEE -------- G4Exception-END --------- EEEE -------