I've been working on my project for some time now and I ran into an issue with these errors which I'm about to mention in a second. The first error for some reason started to happen after I added an "Area" node to my scene. I was basically trying to create a warp that goes to the next scene or "level". The second error I still have no idea what its trying to refer to since there is no Stack Trace. The errors are below and also the scenes do load fine, its just the errors occur randomly and it bothers me a bit. Could this be a bug(s)?
First error:
-0:00:03:0843 - Condition ' !f ' is true. returned: ERRCANTOPEN
Type:Error
Description:
Time: 0:00:03:0843
C Error: Condition ' !f ' is true. returned: ERRCANTOPEN
C Source: scene\resources\texture.cpp:424
C Function: StreamTexture::loaddata
(NOTE: the level does load but since it seems to possibly point to a texture then I have no idea since I made sure all materials and textures were fixed and setup properly)
Error 2:
0:00:32:0408 - Condition ' !body_in && !E ' is true.
Type:Error
Description:
Time: 0:00:32:0408
C Error: Condition ' !body_in && !E ' is true.
C Source: scene\3d\area.cpp:160
C Function: Area::bodyinout
-The first error shows a stack trace on one of my scripts which this never caused an error until the whole adding an area and making it change scene when colliding. Trace points to "gettree().changeScene()" as the culprit however it worked fine before.
Code:
extends VBoxContainer
#THIS IS A SCRIPT FOR THE MAIN MENU TO SEE IF WE ARE GOING TO STAR THE GAME UP OR OTHER OPTIONS
func _on_NewGameBtn_pressed():
#CHANGE TO THE FIRST LEVEL OR SCREEN
get_tree().change_scene("res://SCENES/RealmOfDreams.tscn")
pass
=======================================================================
Code for Area(3D):
extends Area
# class member variables go here, for example:
# var a = 2
# var b = "textvar"
func _physics_process(delta):
var bodies = get_overlapping_bodies()
for body in bodies:
if(body.name == "Player"):
get_tree().change_scene("res://SCENES/ROD_Chamber.tscn")