-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Different behaivor between debug mode and release mode. #34023
Comments
Uh, any chance you could extract some minimal project where this can be reproduced? I can confirm that something strange happens, but not sure where to even look for debugging this. |
I cannot make any minimal project cause everything is tighted up rigth now. |
@kakoeimon Can you (or anyone else) still reproduce this bug in Godot 3.2.3 or any later release? If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop. |
@Calinou I've been able to reproduce something similar. My project works fine in debug but behaves weirdly in release. I tried to make a MRP as suggested. I'm a total Godot beginner, I hope the MRP is good enough. MRP-34023.zip |
I can confirm this on 3.5.beta 59e84be. Therefore, #59793 doesn't appear to fix this. Editorsimplescreenrecorder-2022-04-29_21.43.10.mp4Release export templatesimplescreenrecorder-2022-04-29_21.43.54.mp4You can notice that the objects are spawning with correct rotation for one frame, then they appear with incorrect rotation after one frame has passed. However, this error message is spammed in both editor and release export template builds:
|
I vote for closing this issue. Reason one: OP hasn't worked on their game for more than 4 years now and there have only ever been made 5 commits to the repo. I assume they moved on from that project and it is very difficult to search the entire codebase for the cause of the error. Reason two: @rapenne-s 's MRP can probably be attributed to user error. I can reproduce the issue, but fixing the errors in the output log fixes the differences between the debug and release builds. The first error goes away if we just disconnect the signal and it doesn't change the observable outcome. There is a second error, though:
This is the code that causes it:
As you can see, it's trying to change the zombie's transform before it's been added to the scene. I'm assuming editor and debug builds use
So I'm thinking there is probably not enough here to keep this issue open any longer. |
I remember there was debug-only check for this, which resulted in different behavior between debug and release. It's fixed in 4.0, so if that was the issue then it's resolved. |
Godot version:
3.1.1 3.1.2
OS/device including version:
Windows 10
Issue description:
I do not know what the bug is, the problem is that in release mode the ai do not work as expected.
Steps to reproduce:
export in release mode and run the game with bots.
Minimal reproduction project:
The project is GNU so anyone can check it out.
https://github.com/kakoeimon/Y.E.A.R.-3044
The text was updated successfully, but these errors were encountered: