Texture error when deploying

Status
Not open for further replies.

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
This error occurs when testing a deployed game. This doesn't occur in test game.

bug.png
 

Negi-Mox

My hand got fractured!!
Veteran
Joined
Jun 19, 2017
Messages
140
Reaction score
33
First Language
English
Primarily Uses
RMVXA
The error does not shows like this in Rpg maker's??"
 

Negi-Mox

My hand got fractured!!
Veteran
Joined
Jun 19, 2017
Messages
140
Reaction score
33
First Language
English
Primarily Uses
RMVXA
@Tuomo L as you are saying it runs on the test mode?Right,so this seems their might be a problem in converstion of the game??Why don't you try it again??
 

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
@Tuomo L as you are saying it runs on the test mode?Right,so this seems their might be a problem in converstion of the game??Why don't you try it again??
I did, several times. It always gives the same error.
 

Negi-Mox

My hand got fractured!!
Veteran
Joined
Jun 19, 2017
Messages
140
Reaction score
33
First Language
English
Primarily Uses
RMVXA
Oh!!Try giving that to another people to test that game.
 

jkweath

Goes Fast
Veteran
Joined
Sep 21, 2016
Messages
358
Reaction score
547
First Language
English
Primarily Uses
RMMV
I've never seen an error like that before. My only guess would be it's related to a plugin you're using that involves light or textures, perhaps one that requires a file that's not being included when you deploy the game.
 

LTN Games

Indie Studio
Veteran
Joined
Jun 25, 2015
Messages
704
Reaction score
631
First Language
English
Primarily Uses
RMMV
If you're using a tileset or spritesheet over 2048 in dimension or they are not set to a power of two you will receive texture errors. Something tells me this is the problem.
 

LTN Games

Indie Studio
Veteran
Joined
Jun 25, 2015
Messages
704
Reaction score
631
First Language
English
Primarily Uses
RMMV
I bet it is the problem too, in fact, the sprite sheet you make for Dragon bones are usually really large. So if you are making your own custom ones make sure you don't go over 2048 in width or height, and if you're targeting mobile, make sure to not go over 1024 for best performance. You can go over 1024 but the higher it goes the slower it is for mobile.

I enjoyed this program a lot, it's easy but it costs after the free trail. https://www.codeandweb.com/texturepacker With this program, you can set the size of the sheet as well as each image.

The program I used most often was Shoebox this was a few months back but it works well, it's free and I'm almost positive it has the options of changing the dimensions and ensuring your final image is good to go. http://renderhjs.net/shoebox/

Also ,remember dimensions should be to the power of 2. (example: 512 x 512 or 512 x 1024, etc) Not for performance reasons but because some WebGL features can't be used unless the texture is a power of 2. See here

Your best bet is just to make sure your sprite sheet is within the max limit and to the power of 2.
 

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
I bet it is the problem too, in fact, the sprite sheet you make for Dragon bones are usually really large. So if you are making your own custom ones make sure you don't go over 2048 in width or height, and if you're targeting mobile, make sure to not go over 1024 for best performance. You can go over 1024 but the higher it goes the slower it is for mobile.

I enjoyed this program a lot, it's easy but it costs after the free trail. https://www.codeandweb.com/texturepacker With this program, you can set the size of the sheet as well as each image.

The program I used most often was Shoebox this was a few months back but it works well, it's free and I'm almost positive it has the options of changing the dimensions and ensuring your final image is good to go. http://renderhjs.net/shoebox/

Also ,remember dimensions should be to the power of 2. (example: 512 x 512 or 512 x 1024, etc) Not for performance reasons but because some WebGL features can't be used unless the texture is a power of 2. See here

Your best bet is just to make sure your sprite sheet is within the max limit and to the power of 2.
I think @Yanfly should honestly be made aware of this as he's spreading the Dragonbones even as part of his 1.50 update and I'm using the exact same direction that Aekashics has on his animation sheets.
 

KingKraken

Veteran
Veteran
Joined
Apr 2, 2015
Messages
145
Reaction score
52
First Language
English
Primarily Uses
RMMV
Don't mean to necro this post, but I was having this issue and figured out the cause of it. Not sure about the specifics of your own deployment(I'm using sprites that don't surpass the mentioned dimensions above), but the reasons I was getting this issue was because of encryption. For whatever reason, encrypting the spritesheets causes the error.

So what I ended up having to do is after deploying an encrypted version of the game, I'd just either copy the un-encrypted dragonbones folder or just the spritesheets into the directory . Fixed the issue right up.
 

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
Don't mean to necro this post, but I was having this issue and figured out the cause of it. Not sure about the specifics of your own deployment(I'm using sprites that don't surpass the mentioned dimensions above), but the reasons I was getting this issue was because of encryption. For whatever reason, encrypting the spritesheets causes the error.

So what I ended up having to do is after deploying an encrypted version of the game, I'd just either copy the un-encrypted dragonbones folder or just the spritesheets into the directory . Fixed the issue right up.
Really? Well that's just horrible, I guess I can never make use of Dragonbones then.
 
Joined
May 18, 2019
Messages
1
Reaction score
1
First Language
English
Primarily Uses
RMMV
So what I ended up having to do is after deploying an encrypted version of the game, I'd just either copy the un-encrypted dragonbones folder or just the spritesheets into the directory . Fixed the issue right up.
Ty worked a treat..
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,860
Reaction score
5,238
First Language
Dutch
Primarily Uses
RMXP

@Flufferbat_Industries, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Frostorm wrote on Featherbrain's profile.
Hey, so what species are your raptors? Any of these?
... so here's my main characters running around inside "Headspace", a place people use as a safe place away from anxious/panic related thinking.
Stream will be live shortly! I will be doing some music tonight! Feel free to drop by!
Made transition effects for going inside or outside using zoom, pixi filter, and a shutter effect
I have gathered enough feedback from a few selected people. But it is still available if you want to sign up https://forums.rpgmakerweb.com/index.php?threads/looking-for-testers-a-closed-tech-demo.130774/

Forum statistics

Threads
105,992
Messages
1,018,193
Members
137,772
Latest member
Kirakirna
Top