flyCam and app.getFlyByCamera both return null?


My flyCam variable in Main and app.getFlyByCamera are raising NullPointerException even when I try to invoke them at at click event just to ensure everything is properly initialized. II have seen code, behind the scenes but have no clue. Similar in a different is able to use flyCam without any problems. Please throw some hints??

Unless we have a crystal ball, no one can figure out what’s wrong in your code without ever seen it.

1 Like