Page 1 of 1

Images that disappears after deploy to production

Posted: 18 November 2022, 16:46
by Tabaskov
Hello,
I fixed a small problem detected on my game in public alpha. After a commit and deploy to production, no image appears in the games. The link to the images does not work.
I tried to redeploy but it's the same. In the meantime I have to go back to the previous version. However in studio mode everything works correctly.
Is there a delay for the deployment of the images?

Re: Images that disappears after deploy to production

Posted: 18 November 2022, 20:38
by Tisaac
Tabaskov wrote: 18 November 2022, 16:46 Hello,
I fixed a small problem detected on my game in public alpha. After a commit and deploy to production, no image appears in the games. The link to the images does not work.
I tried to redeploy but it's the same. In the meantime I have to go back to the previous version. However in studio mode everything works correctly.
Is there a delay for the deployment of the images?
Where are located the images ? In the img folders ?

Re: Images that disappears after deploy to production

Posted: 18 November 2022, 23:58
by Tabaskov
Yes, during the game, I see that the source of the cards is here:
https://x.boardgamearena.net/data/theme ... s_cbsr.png and it works with this 2 day old version.
But if I deploy a new version the link changes (e.g. 221116-1416 becomes 221118-1735) and it doesn't find the images.
The game runs, but without any image !
So for the moment I am forced to leave an old version in production...

Re: Images that disappears after deploy to production

Posted: 19 November 2022, 00:04
by Tabaskov
And the commit log or deploy to production log does not raise any particular alert concerning the images. Very weird...

Re: Images that disappears after deploy to production

Posted: 19 November 2022, 12:38
by Tabaskov
Always the same thing this morning :(
I tested a very small modification. After a deploy to production, the modification is well there, but I lose all the images !!!
People who have games in progress don't see the cards anymore :?
Is this problem specific to my project, or does it do it to others?

Re: Images that disappears after deploy to production

Posted: 19 November 2022, 22:58
by Tabaskov
Some pictures are better than a big speech.

The production versions (alpha)
https://i.imgur.com/lNNxPYT.png

A game in progress (with old version, but images)
https://i.imgur.com/Jlv9zpP.png

The same game just after deploying the latest version
https://i.imgur.com/oMznveq.png

It's very annoying...
Should I report a bug?

Re: Images that disappears after deploy to production

Posted: 21 November 2022, 12:37
by Een
I checked on the server and for some reason, your images are not deployed except for the first release.
Not sure yet why, I'll have to check the build/deploy process for this case (not aware of any other similar issue for another project).

Re: Images that disappears after deploy to production

Posted: 21 November 2022, 13:27
by Een
Upon investigation there was a source control conflict to solve for your project. I have cleaned it up and created a new build, and checked that images are in the package to deploy. I'll let you deploy when you are available to check after deploying that everything is working well.

Re: Images that disappears after deploy to production

Posted: 21 November 2022, 16:38
by Tabaskov
Thank you for your reactivity.
Everything works normally again, like it did at the beginning. I will pay attention to my modifications to give you some hints if it happens again ;)

In the end, it was a commit conflict problem and not an image problem.