Skip to content
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

Crash on autocompletion for NavigationAgent3D #68910

Closed
lordee opened this issue Nov 20, 2022 · 1 comment · Fixed by #68952
Closed

Crash on autocompletion for NavigationAgent3D #68910

lordee opened this issue Nov 20, 2022 · 1 comment · Fixed by #68952

Comments

@lordee
Copy link

lordee commented Nov 20, 2022

Godot version

4.0 beta 5

System information

Linux

Issue description

Using the engine editor, godot crashes when I attempt to reference a variable.

@onready var agent: NavigationAgent3D = $NavigationAgent3d

my_func():
      agent. <--- crash occurs`
`handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta5.official (89a33d28f00fec579184fb7193790d40aa09b45b)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /usr/lib/libc.so.6(+0x38a00) [0x7fae164ada00] (??:0)
[2] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0x11761b3] (??:0)
[3] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0x11851a7] (??:0)
[4] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0x22a948a] (??:0)
[5] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0x264e5c7] (??:0)
[6] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0x432721a] (??:0)
[7] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0x2a41564] (??:0)
[8] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0x432721a] (??:0)
[9] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0x2986fe1] (??:0)
[10] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0x42910a4] (??:0)
[11] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0x295c566] (??:0)
[12] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0x29abe0e] (??:0)
[13] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0xe63b95] (??:0)
[14] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0xd9cca0] (??:0)
[15] /usr/lib/libc.so.6(+0x23290) [0x7fae16498290] (??:0)
[16] /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7fae1649834a] (??:0)
[17] /home/danni/Downloads/Godot 4 beta 5/Godot_v4.0-beta5_linux.x86_64() [0xdbe18e] (??:0)
-- END OF BACKTRACE --

Steps to reproduce

https://github.com/lordee/FreeHold/tree/c6a01cf2bfc93bd32cb162269716c51d83691c9d

fh_unit.gd
line 171, attempting to add a line here (and eventually comment out those below...) causes the crash when intellisense tries to load methods etc (I assume!)

Minimal reproduction project

https://github.com/lordee/FreeHold/tree/c6a01cf2bfc93bd32cb162269716c51d83691c9d

@Calinou Calinou changed the title Crash on intellisense for NavigationAgent3D Crash on autocompletion for NavigationAgent3D Nov 20, 2022
@TokisanGames
Copy link
Contributor

TokisanGames commented Nov 21, 2022

Confirmed the test case. Beta4 is fine. Master (afe1c89) is not. Win 11/64.

It's not just NavigationAgent3D. I encounter this typing player.mesh. referring to the scene that holds a large mesh. I would change the title to just Crash on autocompletion.

Bisecting reveals both this and my issue were caused by.... 65d1467
#68663 Fix completion popup for the variables created with get_node call
@Chaosus

Needs tags, milestone.

This is also probably a duplicate of #68901, but this has a simpler test case. I did not test the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants