imperialMedium's rigidBody crashes the main menu without error when ship is inserted in menuBackgroundShipConfig.json
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Inizia riproducendo il crash al commit 52b23c412b6f84753d855f51e81a785753a98a52 con core/assets/configs/menuBackgroundShipConfig.json e i file JSON delle navi imperialSmall e imperialMedium. Confronta i relativi dati di collisione di rigidBody ed esegui il gioco su Windows. Il lavoro è completato quando le navi dello sfondo del menu vengono caricate senza che il gioco si blocchi o si chiuda silenziosamente, incluse imperialMedium e le navi che condividono la sua mesh di collisione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What you were trying to do
Add the imperialMedium ship from the core module into the game's menu background, e.g.
DestinationSol\modules\core\assets\configs\menuBackgroundShipConfig.json or DestinationSol\modules\custommodule\overrides\core\configs\menuBackgroundShipConfig.json
{ "Menu Ships": [ "core:imperialMedium", "core:imperialSmall" ] }
What actually happened
Depending on which ship(s) it loads first and if there are other ship entries in menuBackgroundShipConfig.json, it may not crash immediately, but when it attempts to load in the imperialMedium ship, or a ship that shares the same collision mesh, the game freezes momentarily before closing, without an error message.
How to reproduce
Step 1: Replace the contents of core\assets\configs\menuBackgroundShipConfig.json with the following contents:
{ "Menu Ships": [ "core:imperialSmall" ] }
(imperialSmall is exclusively an example)
Step 2: Replace the corresponding rigidBody field in core\assets\ships\imperialSmall\imperialSmall.json with the following data, taken from the imperialMedium's rigidBody:
"rigidBody": { "origin": { "x": 0.5303030014038086, "y": 0.3068181574344635 }, "polygons": [ [ { "x": 0.20500002801418304, "y": 0.1312500387430191 }, { "x": 0.5600000619888306, "y": 0.1287500411272049 }, { "x": 0.892500102519989, "y": 0.4037500023841858 }, { "x": 0.33000001311302185, "y": 0.9237499833106995 }, { "x": 0.20250003039836884, "y": 0.918749988079071 } ] ], "circles": [ { "cx": 0.7400000691413879, "cy": 0.4412499964237213, "r": 0.18447551131248474 } ], "shapes": [ { "type": "CIRCLE", "vertices": [ { "x": 0.7400000691413879, "y": 0.4412499964237213 }, { "x": 0.9049999713897705, "y": 0.35875001549720764 } ] }, { "type": "POLYGON", "vertices": [ { "x": 0.20500002801418304, "y": 0.1312500387430191 }, { "x": 0.5600000619888306, "y": 0.1287500411272049 }, { "x": 0.892500102519989, "y": 0.4037500023841858 }, { "x": 0.33000001311302185, "y": 0.9237499833106995 }, { "x": 0.20250003039836884, "y": 0.918749988079071 } ] } ] },
Step 3: Run the game
Game version
Commit 52b23c412b6f84753d855f51e81a785753a98a52
Log details
No log was produced.
Operating System
Windows
Additional Info
I have not tested other collision meshes, so there is the possibility more ships within the core module may be affected by this bug.
- Lingua principale
- Java
- Stelle
- 351
- Fork
- 125
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di MovingBlocks/DestinationSol
-
Bundled desktop JRE is Java 11 while engine compiles to Java 17; afterEclipseImport never runs Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
MovingBlocks/DestinationSol#740 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
MovingBlocks/DestinationSol#739 ·
-
Destiatio Sol Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
MovingBlocks/DestinationSol#735 · 1 commento ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
MovingBlocks/DestinationSol#733 · 1 commento ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
MovingBlocks/DestinationSol#732 ·
Tutte le issue di MovingBlocks/DestinationSol
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
infinispan/infinispan#18150 ·
-
area/frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100