-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random and varying GDScript VM errors #81805
Comments
Without a project there is nothing the team can do. Does Rhythia.gd inherit from some other class? (Often the error messages will get confused with inheritance, check the same line in the inherited from class if true) |
There's not enough specific information here, the steps to reproduce this are not indicating how to actually replicate this Please provide an MRP, or some specific details, or this can't be investigated Also please provide the actual text of your error messages, screenshots of errors are not enough, they don't work on screen-readers, and can't be copied etc. |
Seems possibly related to:
But impossible to tell without more details about what your code actually is |
I will edit the original issue to account for this, thanks.
Rhythia.gd inherits "Node"
As I said, I don't know how to replicate this as it randomly happens for seemingly no reason. Nothing changed in my project for this to happen.
The closest thing to an MRP would be the actual project.
As I said, the problem here is that the errors don't point to any code. I don't know what code I'm supposed to give when the problem is more than likely unrelated to any. I would agree that it may be related to the other issues if the opcode errors were the only ones. However, I also get an assortment of other completely different errors. |
This happens pretty regularly to me if I save a running script that contains awaits. Seems the code getting shifted around messes up the pointers, and things break with the awaits. |
Godot version
v4.1.1.stable.official [bd6af8e]
System information
Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 () - Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz (4 Threads)
Issue description
Whenever I try to run my project, it will produce a seemingly random script-related error. On rare occasion, the game will run for 30 seconds before closing.
![image](https://private-user-images.githubusercontent.com/46307433/268505635-5a2f0760-ed0c-4ca3-9683-882518d0b76c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMTAxNzEsIm5iZiI6MTczOTIwOTg3MSwicGF0aCI6Ii80NjMwN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MzRjNDM1YzY1MzliNzFiYmM3ZjYxMjhjNmQzMDJiYWNhODcwYWVkMWI4YzU2N2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MJ2MfjAoJrZpY7K8-LWJmPw_bR_15cnxsKaGVj1DHac)
![image](https://private-user-images.githubusercontent.com/46307433/268505744-f861c9f7-5d6d-4fa5-ab2b-f0c06e73ff4d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMTAxNzEsIm5iZiI6MTczOTIwOTg3MSwicGF0aCI6Ii80NjMwNzQzMy8yNjg1MDU3NDQtZjg2MWM5ZjctNWQ2ZC00ZmE1LWFiMmItZjBjMDZlNzNmZjRkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDE3NTExMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM5Zjg4MTg5ZWUxYjE3MWIyNDc3ODM0MWVlYWU0NWE4NDQ2MTg4MDk2ZDVjNzY3YzBkYzM4MjZlMjY2Y2Q3ZDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.dRiR6vWLoEox_nZ5jUgPNs4T-bL2I-1N5DdxGDWfv3w)
![image](https://private-user-images.githubusercontent.com/46307433/268505761-9c953298-46c6-4e44-b6d1-4c4f7f1d60fb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMTAxNzEsIm5iZiI6MTczOTIwOTg3MSwicGF0aCI6Ii80NjMwNzQzMy8yNjg1MDU3NjEtOWM5NTMyOTgtNDZjNi00ZTQ0LWI2ZDEtNGM0ZjdmMWQ2MGZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDE3NTExMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2OTQ4Yzc0NzI1NmI4YWRkMjQyOTYxNWJlNmNlN2JmNzJjNWY4OWJhMDQwOWFhNmRmNDM5YmFiZGI3MDhhZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.coEJxFLRWL2cgVDEjvM_M4MCsAW0OxudFWnfvr6py2g)
The most common error I receive is this:
Invalid get index '' (on base: 'Node (Rhythia.gd)').
The problem here is that there is no code on that line of Rhythia.gd as the entire line is commented. No error message is output in this case.
Opcode errors I receive include:
Internal script error! Opcode: 110 (please report).
Internal script error! Opcode: 114 (please report).
Internal script error! Opcode: 0 (please report).
All the scripts and lines it gives me seem completely random. The only pattern between these is that the opcode seems to be correct for the corresponding line. I have received other similar opcode errors with different numbers and different scripts.
When I get opcode errors, looking into the Errors tab gives me this:
Yesterday, I also received this but have been unable to get it again:
Stack Underflow (Engine Bug)
Steps to reproduce
I have no idea. This just randomly started happening when I opened Godot yesterday.
Minimal reproduction project
I don't think I can make this minimal. The closest thing here would be the entire project itself.
https://github.com/Rhythia/Rhythia/archive/2e8d3d45a6aff57f245724da6e3691f9c2fcf080.zip
The text was updated successfully, but these errors were encountered: