Thursday, 13 December 2018

Unreal: RunTime Error (Damage Volume)



My project was 8gb and I was aware I had a lot of asset packs that I was only using small amounts of. I decided to go through the entire project and delete as much as I could without breaking links in the project.

After I did this, it appears that I have a run-time error with the Cast To FirstPerson in the Damage Volume blueprint. I am not sure why this would be linked to any of the assets I deleted, or it could be unrelated. It still works but displays a run-time error which is a bit confusing.

The run-time error is the equivalent of a null reference exception in Unity. Meaning whatever it is trying to access, does not exist. I am confused about this situation, because I have searched for a long time trying to fix it, and I can not spot any problem.

In Unreal, the errors that I have received do not seem to be particularly clear and helpful. This one does point to the location and the node which is far more than any of the others. However, in Unity, if there is an error it seems to be a lot easier to locate and carry out testing to find the solution i.e. break points etc. Whereas Unreal has not provided much support for error handling, and quite unclear of all the existing references in the blueprints.

No comments:

Post a Comment

Unreal: Project Evaluation

Unreal is visually enticing and appears to be extremely user-friendly. In the beginning stages, I found it really nice to use and I was exc...