Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3551349.3560505acmotherconferencesArticle/Chapter ViewAbstractPublication PagesaseConference Proceedingsconference-collections
research-article

Verifying Game Logic in Unreal Engine 5 Blueprint Visual Scripting System Using Model Checking

Published: 05 January 2023 Publication History

Abstract

This paper examines modeling methods for applying model checking to game programs created with Unreal Engine 5 Blueprint scripting system (hereinafter UE5 Blueprint). UE5 Blueprint can visually describe game logic by combining various processing nodes, but as the size of the game grows, it becomes more difficult to find and fix bugs that prevent the game from progressing. In this paper, a formal verification technique, model checking, is used to automatically detect game logic bugs. We convert a game program created in UE5 Blueprint into an input model for the model-checker NuSMV to achieve verification by NuSMV. The proposed framework enables the automatic generation of models by formally defining the semantics of nodes. We also propose methods for data flow optimization and abstraction of variable domain for the purpose of reducing the number of states in the model. We applied the proposed method to a blueprint containing a typical flag management bug and confirmed that the bug was correctly detected by NuSMV. Furthermore, we show that the number of states can be significantly reduced by the optimization and abstraction.

References

[1]
Mordechai Ben-Ari, Amir Pnueli, and Zohar Manna. 1983. The Temporal Logic of Branching Time. Acta Inform. 20, 3 (1983), 207–226.
[2]
Armin Biere, Alessandro Cimatti, Edmund M. Clarke, and Yunshan Zhu. 1999. Symbolic Model Checking without BDDs. In Proc. of the 5th Int’l Conf. on Tools and Algorithms for Construction and Analysis of Syst. (TACAS ’99). 193–207.
[3]
Blender. 2022. blender.org - Home of the Blender project - Free and Open 3D Creation Software. https://www.blender.org/.
[4]
A Cimatti, Edmund M Clarke, F Giunchiglia, and M Roveri. 1999. NuSMV: A New Symbolic Model Verifier. In Proc. 11th Int’l Conf. on Computer Aided Verification (CAV 1999), LNCS1633. 495–499.
[5]
E M Clarke, O Grumberg, and D Peled. 1999. Model checking. MIT press.
[6]
Isamu Hasegawa and Tomoyuki Yokogawa. 2022. Formal Verification for Node-Based Visual Scripts Using Symbolic Model Checking. IEICE Trans. Inf. Syst. E105-D, 1 (2022), 78–91.
[7]
Nao Igawa, Tomoyuki Yokogawa, Mami Takahashi, and Kazutami Arimoto. 2020. Model Checking of Visual Scripts Created by UE4 Blueprints. In Proc. 8th International Conference on Smart Computing and Artificial Intelligence (SCAI 2020). 516–519.
[8]
M M Lester. 2020. Solving Interactive Fiction Games via Partial Evaluation and Bounded Model Checking. arXiv preprint arXiv:2012.15365(2020).
[9]
Pablo Moreno-Ger, Rubén Fuentes-Fernández, José Luis Sierra-Rodríguez, and Baltasar Fernández-Manjón. 2009. Model-Checking for Adventure Videogames. Information and Software Technology 51, 3 (2009), 564–580.
[10]
Amir Pnueli. 1981. A Temporal Logic of Concurrent Programs. Theor. Comput. Sci. 13(1981), 45–60.
[11]
Stefan Radomski and Tim Neubacher. 2015. Formal Verification of Selected Game-Logic Specifications. In Proc. the 2nd EICS Workshop on Engineering Interactive Computer Systems with SCXML. 30–34.
[12]
R Rezin, I Afanasyev, M Mazzara, and V Rivera. 2018. Model Checking in Multiplayer Games Development. In 2018 IEEE 32nd Int’l Conf. on Advanced Information Networking and Applications (AINA). 826–833.
[13]
SQUARE ENIX CO., LTD.2016. FINAL FANTASY XV. http://www.jp.square-enix.com/ff15/.
[14]
Unity. 2022. Unity Real-Time Development Platform | 3D, 2D VR & AR Engine. https://unity.com/.
[15]
Unreal Engine 5. 2022. Blueprints Visual Scripting in Unreal Engine | Unreal Engine 5.0 Documentation. https://docs.unrealengine.com/5.0/en-US/blueprints-visual-scripting-in-unreal-engine/.

Cited By

View all
  • (2024)Artificial intelligence pathfinding based on Unreal Engine 5 hexagonal grid map2024 4th International Conference on Neural Networks, Information and Communication (NNICE)10.1109/NNICE61279.2024.10498463(1708-1711)Online publication date: 19-Jan-2024
  • (2023)Applying Symbolic Model Checking to Node-graph Style Game Scripts with Time Constraints2023 IEEE 12th Global Conference on Consumer Electronics (GCCE)10.1109/GCCE59613.2023.10315312(881-884)Online publication date: 10-Oct-2023

Index Terms

  1. Verifying Game Logic in Unreal Engine 5 Blueprint Visual Scripting System Using Model Checking

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    ASE '22: Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering
    October 2022
    2006 pages
    ISBN:9781450394758
    DOI:10.1145/3551349
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 05 January 2023

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. NuSMV
    2. Unreal Engine 5
    3. Video Game Program

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Funding Sources

    Conference

    ASE '22

    Acceptance Rates

    Overall Acceptance Rate 82 of 337 submissions, 24%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)98
    • Downloads (Last 6 weeks)24
    Reflects downloads up to 20 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Artificial intelligence pathfinding based on Unreal Engine 5 hexagonal grid map2024 4th International Conference on Neural Networks, Information and Communication (NNICE)10.1109/NNICE61279.2024.10498463(1708-1711)Online publication date: 19-Jan-2024
    • (2023)Applying Symbolic Model Checking to Node-graph Style Game Scripts with Time Constraints2023 IEEE 12th Global Conference on Consumer Electronics (GCCE)10.1109/GCCE59613.2023.10315312(881-884)Online publication date: 10-Oct-2023

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    HTML Format

    View this article in HTML Format.

    HTML Format

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media