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

Error spam when opening a scene with a Line2D #17625

Closed
YeldhamDev opened this issue Mar 18, 2018 · 9 comments
Closed

Error spam when opening a scene with a Line2D #17625

YeldhamDev opened this issue Mar 18, 2018 · 9 comments

Comments

@YeldhamDev
Copy link
Member

Godot version:
883afd1

Issue description:
When opening a scene with a Line2D with points (an empty one doesn't trigger it), this error will be spammed multiple times in the output:
Drawing is only allowed inside NOTIFICATION_DRAW, _draw() function or 'draw' signal.

@robfram
Copy link
Contributor

robfram commented Mar 19, 2018

Couldn't replicate in ebce36c. Could you provide a sample project where it occurs?

@ghost
Copy link

ghost commented Mar 19, 2018

I can't reproduce either. Same version.

@YeldhamDev
Copy link
Member Author

@robfram @Noshyaar
Test.zip

@volzhs
Copy link
Contributor

volzhs commented Mar 19, 2018

can't reproduce with the attached sample project.
I'm using 201d2d7

$ godot3 -e --path ~/Desktop/Test
OpenGL ES 3.0 Renderer: GeForce GTX 670/PCIe/SSE2
// when run
Running: /mnt/2TB/Godot/Godot 3/godot.tools.64 --path /home/volzh/Desktop/Test --remote-debug 127.0.0.1:6007 --allow_focus_steal_pid 29064 --position 0,0
OpenGL ES 3.0 Renderer: GeForce GTX 670/PCIe/SSE2

i'm not sure but there could be something wrong between 201d2d7 and 883afd1

tested with current head c4a8b8f and couldn't reproduce it either.

@robfram
Copy link
Contributor

robfram commented Mar 19, 2018

Me neither. Only this output:

Running: /godot/bin/godot.x11.tools.64.llvm --path /tmp/Test --remote-debug 127.0.0.1:6007 --allow_focus_steal_pid 3585 --position 171,84
Remote Debugger: Connection failed with status: '2', retrying in 1 msec.
OpenGL ES 3.0 Renderer: Mesa DRI Intel(R) Sandybridge Mobile 
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:1989.
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:1989.

@YeldhamDev
Copy link
Member Author

I have the most recent master, and still happens to me. Odd...

@NuclearPhoenixx
Copy link

Not happening on 3.0.2 either, not even any warning.

@YeldhamDev
Copy link
Member Author

Whatever was triggering this warning for me, doesn't seem to happen anymore. So yeah, closing it.

@ghost ghost added archived and removed bug good first issue labels Apr 24, 2018
@ghost ghost removed this from the 3.1 milestone Apr 24, 2018
@letheed
Copy link
Contributor

letheed commented Jun 15, 2018

Just hit what seems to be the same bug with a tool script drawing lines.

It goes away if I edit .config/godot/projects/MyProject-###############/editor_layout.cfg and remove the scene loading the script from open_scenes.

If I open godot and open the scene manually, all is fine.

The error spamming seems to happen on startup. Obviously the script runs but drawing is false even in the _draw call for a short while.

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

6 participants