Jump to content

[LINUX] Failed to load MOD assets/components (Ubuntu)


Gleenus
  • Pending

Hi

Since the last update, I'm having trouble to load/read files during the mod development

The files are in folders, I can read the proper paths, but the game always says they can not be found
I'm using Linux - Ubuntu 20.04

Before the update I have no problems, so I'm assuming there is something related.

Some prints:
image.thumb.png.7144270cbcddfafca1a9bbe89c404171.png

Files on folder:


image.thumb.png.12481050cd9b335d6a628ae435d9ff4d.png


It also happens with components (even on dedicated servers):

image.thumb.png.af29170ffa044fce507fcd4182e47867.png

The file in folder

image.thumb.png.ecd5ff9a24b30083a854b8849bda78a6.png


File permissions: (reading enabled)
image.png.8cf2febf87379e1928922f78b1878ea9.png

I even tried to put a full permission (read-write execute for user, group and public), and no success

 

client_log.txt server_log.txt


Steps to Reproduce

Start developing a mod on Linux (Ubuntu 20.04)
Try to import assets or import components




User Feedback


I can't see any reason why the animation file didn't load unless it just wasn't there when the game didn't load.
As for the component not loading, we don't support developing mods using a workshop- prefix, as the game will process those as workshop mods and apply several optimizations that might break a mod being actively developed.

  • Like 1
  • Thanks 1

Share this comment


Link to comment
Share on other sites

@zarklord_klei This is the weirdest thing, the problem occurs for the images, not for the animations (in dedicated server it load the animation)

Apparently the files can not been found anymore, since the last update

About the 'workshop-prefix' whatever, the problem here is not the 'workshop' support, it is a folder in 'mods' folder, and some files inside it are not being read for no reason
Like, modmain is ok, but components don't? why it can just find the file?

Also, the game can not read the SCRIPTS folder anymore on linux
Rename databundles/scripts.zip to scripts_backup
extract it
Put it on data folder and check if its not like 'data/scripts/scripts' (as informed in the file)
And the game don't open anymore

There is something very weird happening with the file reading routine

@edit:

1 hour ago, zarklord_klei said:

I can't see any reason why the animation file didn't load unless it just wasn't there when the game didn't load.

Well, you can see in the prints, the files are there

Edited by Gleenus
adding more information to the anwser
  • Like 1

Share this comment


Link to comment
Share on other sites

1 hour ago, Gleenus said:

Apparently the files can not been found anymore, since the last update

As in waterlogged? or [Game Update] - 474933?

1 hour ago, Gleenus said:

About the 'workshop-prefix' whatever, the problem here is not the 'workshop' support, it is a folder in 'mods' folder, and some files inside it are not being read for no reason
Like, modmain is ok, but components don't? why it can just find the file?

The game internally doesn't distinguish where the mod is from, so whether the mod is in the steam workshop location or the mods folder, if you have a workshop- prefix, you will encounter problems.

1 hour ago, Gleenus said:

Also, the game can not read the SCRIPTS folder anymore on linux
Rename databundles/scripts.zip to scripts_backup
extract it
Put it on data folder and check if its not like 'data/scripts/scripts' (as informed in the file)
And the game don't open anymore

There is something very weird happening with the file reading routine

Nothing has changed with how files get read in this update, so something is going wrong, I'm just not sure what...

  • Sad Dupe 1

Share this comment


Link to comment
Share on other sites

3 minutes ago, zarklord_klei said:

As in waterlogged? or [Game Update] - 474933?

The game internally doesn't distinguish where the mod is from, so whether the mod is in the steam workshop location or the mods folder, if you have a workshop- prefix, you will encounter problems.

Nothing has changed with how files get read in this update, so something is going wrong, I'm just not sure what...

I think it was after the 64bits update, but I'm not sure
Since the last week I was having problem

If you prefer, I can stream to you and we can try to find the problem

  • Like 1

Share this comment


Link to comment
Share on other sites

Just now, Gleenus said:

I think it was after the 64bits update, but I'm not sure
Since the last week I was having problem

If you prefer, I can stream to you and we can try to find the problem

Is it the same on 32 bit and 64 bit? or does it work on one but not the other?

  • Like 1
  • Thanks 1

Share this comment


Link to comment
Share on other sites

Just now, zarklord_klei said:

Is it the same on 32 bit and 64 bit? or does it work on one but not the other?

I got the same problem in both
I don't know what kind of changes are made, but some people told me there was some structural changes in the engine

About the workshop-prefix
This mod (from the print), I have some client side files (on workshop) and some local server side private files (on my computer)
I made this mod like, 5 months ago and never got any problem
But since the last week, the component file can not be read anymore

And the image asset problem prevent me from developing mods :wilson_cry:

  • Like 1

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...