Skip to main content
V
1mo ago

Problem loading file; may be corrupt! [Javascipt]

logs from browser:


rive.js:5453 Problem loading file; may be corrupt!

overrideMethod @ hook.js:608

(anonymous) @ rive.js:5453

step @ rive.js:3892

(anonymous) @ rive.js:3873

fulfilled @ rive.js:3864

Promise.then

step @ rive.js:3866

(anonymous) @ rive.js:3867

__awaiter @ rive.js:3863

Rive.initData @ rive.js:5408

(anonymous) @ rive.js:5326

Promise.then

Rive.init @ rive.js:5311

Rive @ rive.js:5268

(anonymous) @ yetti/:75Understand this warningAI

rive.js:5329 Problem loading file; may be corrupt!


The code below is a simple static HTML file with JavaScript. I have already recreated the Rive file multiple times, tried various CDN links, and ended up using a JS file. The strange thing is that this issue appeared after I rebooted my PC, even though I didn’t change any code. I tested it on Chrome, Firefox, and also used different deployment servers like serve, http-server, and the VSCode extension (Five Server).

live - https://vixkosla.github.io/yetti/

https://github.com/vixkosla/yetti/

Join the discussion
Join Rive to reply J