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

Editor Crash on opening scene - ERROR: Index p_index = 1 is out of bounds (((Vector<T> *)(this))->_cowdata.size() = 0). at: operator[] (./core/templates/vector.h:52) #61103

Closed
timshannon opened this issue May 16, 2022 · 3 comments

Comments

@timshannon
Copy link

Godot version

v4.0.alpha.mono.custom_build [fa2b326]

System information

Ubuntu 22.04

Issue description

Opening a scene that opened find in previous versions now crashes the editor.

The last error before the stack trace is

ERROR: Index p_index = 1 is out of bounds (((Vector<T> *)(this))->_cowdata.size() = 0).
   at: operator[] (./core/templates/vector.h:52)

The full terminal output is attached in out.txt.

It appears to be an issue to the CSG nodes in the scene. If I can find a previous GD4 alpha version in which the scene opens fine, I'll include that in this issue so it's easier to find a diff.

Steps to reproduce

Open the attached project, then open the TestEnemy.tscn scene.

Minimal reproduction project

Bug.zip
out.txt

@timshannon
Copy link
Author

It opens fine in Alpha 7 but not Alpha 8.

@timshannon
Copy link
Author

I believe this PR is what is causing this specific crash for me:

#51591

The build from the PR merged prior to #51591 (#46208) works fine.

@Calinou
Copy link
Member

Calinou commented May 16, 2022

Duplicate of #60936.

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

No branches or pull requests

2 participants