Bug Issue: Importing resource pack swaps custom blocks


Pages: 1

Luyren

  • Master Stencyler
  • *
October 27, 2019, 06:28:29 pm
b10441, running on Windows 10

I have a resource pack with 41 resources (32 behaviors and 9 actors) that I'm trying to export from my main project and import into another game.

The resource pack takes a long time to export. When I import it into a blank game, all the custom blocks that the behaviors use gets swapped around. It seems one custom block replaces all the others in the behaviors. When I got a setter block to be placed where a getter used to be, clicking it gets an error prompt. All the custom blocks of the resource pack are self contained: that is, they only use custom blocks that exist within the behaviors of that resource pack.

If this was for my personal use, I could just replace the blocks and carry one, but I want to make this resource pack available for purchase this week, and users should be able to just import it without problems, so this is a big issue for me.

Attached logs. I cleaned the logs, exported the resource pack, opened another game, imported and tested.
« Last Edit: October 27, 2019, 06:29:23 pm by Luyren »


New attachment added by Luyren - October 27, 2019, 06:28:46 pm


New attachment added by Luyren - October 27, 2019, 06:29:01 pm


Luyren

  • Master Stencyler
  • *
October 31, 2019, 01:34:18 pm
I don't know if this is still being worked on, but update:

On b10445, the resource pack imports correctly. The file size was also reduced considerably when I exported it: on b10441, it was 490 MB, and now is 266 MB.

Importing onto the public build still gets the swapped blocks.



Justin

  • Master Stencyler
  • *
October 31, 2019, 05:22:52 pm
Oh, sorry, I forgot to update you on this. Yeah, I fixed the importing issues, but it's not something that will be any help for older builds. The pack won't be able to be imported in older builds of Stencyl and it doesn't look like there's anything that can be done about that.

I'll try to get a new public release out soon so at least people will have the option of getting it without jumping through any weird hoops.


I'm a little surprised that the size got smaller, because I did -not- do any work on that. I'd be interested in seeing the more recent one you exported.


Justin

  • Master Stencyler
  • *
November 01, 2019, 01:42:12 am
Figured out the cause of the larger-than-needed file size, and that's been fixed as well. I'll mark this issue as resolved, with the hope that importing/exporting resources can be improved in the future.

b10447.
  • Issue Assigned from (none) to Justin
  • Status changed from New to Resolved


Luyren

  • Master Stencyler
  • *
November 01, 2019, 06:19:15 am
Confirming fix on b10448
Resource pack down to 48.5 MB.
No custom block swapping when importing.

I also imported this reduced size version on b10445 and it works without custom block issues.

Thank you very much!


Issue updated by Justin - December 12, 2019, 05:35:45 pm
  • Tags added: 4.0.2


Pages: 1

Details

  • Reported
    October 27, 2019, 06:28:29 pm
  • Updated
    December 12, 2019, 05:35:45 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    3.5.0 beta 1
  • Fixed in
    (none)
  • Assigned to
    Justin
  • Category
    Design Mode

Tags


Attachments

* log-2019-10-27.zip (337.85 kB - downloaded 688 times.)

* error import rp.png (36.79 kB, 869x386 - viewed 1406 times.)