Description
On runtime, when a scene is changed to another scene, the Camera spawns at Vec4(0, 0, 0, 1) instead of its local position. If the camera is clicked and the blend file saved the camera spawns properly, but I have to do that each time I open the blend file and in all the scenes.
Things work properly in Blender 3.6.x, this has happened to me in Blender 4.2.x.
To Reproduce
Using the test file:
- Open the
blend file in Blender 4.2.x
- Change the scene to
CameraScene by pressing spacebar
- The camera will spawn at position
Vec4(0, 0, 0, 1) instead to its local position (the cube won't be displayed)
- Stop the game and open the
CameraScene
- Click the camera
- Save the
blend file
- Re-run the game and the Camera spawns properly
Expected behavior
The camera should keep its local position when the blend file is opened and the game runs, without needing to click it each time is opened.
System
Blender: 4.2.6 LTS
Armory: 2025.1.0
OS: Windows 11 Pro (x64)
Graphics card: NVIDIA GeForce RTX 3050 Ti Laptop
Test File
camera_spawn.zip
Edit 1: I just have to click the empties, there's no need to move them to make the camera spawn properly.
Edit 2: I realized it happens with non-child cameras as well, updated the issue according to that.
Description
On runtime, when a scene is changed to another scene, the Camera spawns at
Vec4(0, 0, 0, 1)instead of its local position. If the camera is clicked and the blend file saved the camera spawns properly, but I have to do that each time I open theblendfile and in all the scenes.Things work properly in Blender 3.6.x, this has happened to me in Blender 4.2.x.
To Reproduce
Using the test file:
blendfile in Blender 4.2.xCameraSceneby pressing spacebarVec4(0, 0, 0, 1)instead to its local position (the cube won't be displayed)CameraSceneblendfileExpected behavior
The camera should keep its local position when the
blendfile is opened and the game runs, without needing to click it each time is opened.System
Blender: 4.2.6 LTS
Armory: 2025.1.0
OS: Windows 11 Pro (x64)
Graphics card: NVIDIA GeForce RTX 3050 Ti Laptop
Test File
camera_spawn.zip
Edit 1: I just have to click the empties, there's no need to move them to make the camera spawn properly.
Edit 2: I realized it happens with non-child cameras as well, updated the issue according to that.