|
|
|
 |
Reply From: |
rossunger |
I found this problem sometimes happens in the editor too when Ive used class_name… something about circular dependencies, or broken references. I’ve had to edit the project.godot file in a text editor to remove certain references and then it would work again.
Do you have any idea what I would need to do? Here’s my project.godot file:
; Engine configuration file.
; It’s best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between
; param=value ; assign values to parameters
config_version=4
[application]
config/name=“Battleground”
config/description=“A First-Person Shooter.”
run/main_scene=“res://Scenes/Menu.tscn”
boot_splash/image=“res://UI/Battleground_Splash.png”
config/icon=“res://UI/Battleground.png”
config/windows_native_icon=“res://UI/Battleground.ico”
[autoload]
Globals=“*res://Scripts/Globals/Globals.gd”
[display]
window/stretch/mode=“viewport”
[input]
(I removed the Inputs from here because it was too long)
[physics]
common/enable_pause_aware_picking=true
[rendering]
environment/default_environment=“res://default_env.tres”
I don’t see any dependencies or references…
I think I misunderstood your issue…
This only happens at runtime? after you’ve exported and are trying to play the game?
Does it work fine when you run in editor? Does it work fine on your computer, and only throw this error on the other machine? Did you copy all the files that got exported?
When you open the export menu…under the resources tab, is it set to export all resources?
What type of resource is “res://assets/bla”?
rossunger | 2022-01-28 19:27
The exported program runs fine on the computer it was exported on, it only does not run on any other computer. “res://assets/bla” are 3d assets like .obj files and .fbx files. Yes it’s set to export all resources.
hmm. hard to diagnose. I haven’t had this experience with godot before.
Have you tried running the game as administrator? (you shouldn’t need to, but if that worked it’d be clearly a permissions issue)
Have you checked to see if Windows defender/firewall are doing something stupid?
If it doesn’t work on multiple other computers in might be something to do with the export templates. Did you compile them from source? or download them? if download, are you sure they’re for godot 3.4.2, and not a different version?
Do you wanna post a wetransfer link to your game and I’ll see if I can see anything?
rossunger | 2022-01-29 15:49