Windows build fails , remove uri in game.projectc (SOLVED)

#1

Sometimes when you create a windows build inside the folder is the file “game.projectc”
There is a line showing an empty declaration of uri =
This prevents the game from running. remove the line and (without BUILD) the exe runs.
Example of a game.projectc file with the error

[resource]
http_cache = 0
max_resources = 3300
uri = 


[input]
repeat_delay = 0.5
repeat_interval = 0.2
gamepads = /builtins/input/default.gamepadsc
game_binding = /input/game.input_bindingc
use_accelerometer = 1
gamepads = /builtins/input/default.gamepadsc
0 Likes

#2

Is this when you build for Windows using one of the template projects?

0 Likes

#3

I used the rendercam project. but modified it. I think slightly before i saw a message concerning the gamepad plugin/config. but i dont recall what exactly it was.

0 Likes

#4

Could you please try to create a new template project from the welcome screen and see if you get the same problem?

0 Likes

#5

just tried, a clean template projects works fine, no trouble at all.
now i know what it caused it. i deleted the gamepads config in game.project. then a windows bundled game is not able to run.

0 Likes