Verse Hot Reload doesn't work.

Reference ID

12b0d83b-4c22-1eae-519f-35b2417f0ab1

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Summary

verse hot reload doesn’t work.

Steps to Reproduce

  1. Write about 2000-3000 lines of code
  2. Try to update via Push Verse Changes

Expected Result

Code update.

Observed Result

Not a code update.

Platform(s)

PC

Additional Notes

LogValkyrieBeacon: Error: (ValkyrieBeaconClient_1) AValkyrieBeaconClient::ClientVerseUploadComplete_Implementation Verse Hot-Reload failed (error code: 10)

Workaround is to push all changes or reopen the project.

Incident has been created. Status is ‘Awaiting Validation’.

1 Like

26.20 still

I believe this is still an issue sometimes. Hard to pin down, sometimes it works. It works more often than before 26.20

Unfortunately, it doesn’t work 100% of the time.

BY any chance do you use texture material or mesh in your Verse code? Having any reference to any of these causes the Verse Push Changes to fail for some reason. I even tested it with 5 lines of code. Simply adding a material variable causes that error, which forces an entire push changes.

4 Likes

I’m using materials in one project with small amount of code and verse reload works fine.

In other projects with 7k loc that’s not using material nor meshes verse reload doesn’t work.

1 Like

Hey Pi

Yes, I think that’s probably it. Good catch!

@2GHSamburskoy, Can you DM me a link to your project files so we can reproduce internally please?

Are any of your files named the same as another file or folder?

Happening to me currently. I don’t have references to materials in my code.


It still hasn’t been fixed. The error occurred in the second project. Same indicator: a lot of code is written.

It has more to do with using any kind of asset reflected code in some kind of complex/convoluted way. I haven’t really been able to pin point an exact cause to it specifically. There are certain instances where asset reflected code works perfectly fine but others where it causes the “Verse hot-reload failed” error.

@jay_villanueva I am creating a ui with verse, and I have this issue when using texture_block with textures over 300*225 pixels. It is probably linked to the fact that verse hot reload can’t handle more than 256kB.

It would be fine time to upgrade that

1 Like

@jay_villanueva Actually after trial and errors, the bug seems to occur only when I use small icons I dl from the net and not because of big textures, for ex: https://icons8.com/icon/set/attack-speed/pulsar-line

Edit: and now it seems like everything work again, I have no idea why
Edit2: and it is not working again, feels like there is a limit on the number of texture_blocks allowed for the reload to work, but it is not depending on the texture size it seems

1 Like

@2GHSamburskoy @PiEqualsThree3 Someone just told me the issue. The problem is that you probably have a texture named very closely to a verse variable. I thought this wasn’t it at first, because the full reload still works, but depending on when it was first build it might just bug the hot reload. So prefix your textures with sth and it should work again

1 Like

Hot reload error is caused by texture, mesh, material names OR a folder name being repeated somewhere else in the project!

List of places that repeats have been found:

  • variables in verse code
  • project level name
  • other folders
  • other reflected assets (texture, mesh, material)
  • custom blueprints
2 Likes