[4.7.0] HTML5 Package Project Cook - Orthographic Camera

I have a pawn with an Orthographic camera.

Playing in the editor it looks like this, which seems correct:

However, the cooked HTML5 looks like this:
(There are no errors during the cooking process)

And not only that, the game is kinda broken because the cubes don’t do anything when clicked. Got this message in the HTML console: “Assertion failed: Cannot call unknown function on_fatal (perhaps LLVM optimizations or closure removed it?)”

If I set the pawn’s camera to Perspective, everything works fine in the cooked HTML5.

Hey ,

I have taken our puzzle blueprint template to create the same type of scenario as the above examples you’ve provided. I changed the height of the cubes used for the puzzles and the shadows do not show up as they typically would, with the default settings.

If the cubes you’re using for your project have a lot of height, you’ll see those shadows. Take a look at your cube height and change the size of them, and let me know if that helps.

Thank you!

Hey,

Well, the thing is that the game logic doesn’t work using an orthographic camera in the packaged html5 game, some cubes should be “lit” when the game starts, and clicking them should switch their status, and that doesn’t work.

I’m puzzled, because everything works fine in the packaged html5 if the camera is set to perspective.

Give me a moment, I’ll make a video to show you, or perhaps I’ll upload the project.

All right here’s the video of what’s happening: https://www…com/watch?v=eGBeBJgEJ30

And here’s the project: www.radpolygon.com/lightsout/LightsOut.zip

Hey ,

Thank you for providing me with the video as well as your project in a zip file. Your video was very useful, as it described exactly what I needed to see in order to assist you further. I have attempted to change the settings within your project in the Orthographic camera mode to see if we could resolve this however, I had no luck.

Unfortunately, the camera doesn’t seem to be working correctly on your project therefore, I have entered a bug for you (UE-11219). When checking the progress on this bug, please use (UE-11219) as referenced so we can better assist you in the future.

Also, since this issue is related to your project, I have submitted the report with the link to your video. If you could please keep that up for now, that would be very beneficial to our developers.

Thank you!

Hey, how can I check the progress on the bug?

I packaged the project for my Android tablet, using the Orthographic camera, and everything works fine. So yeah, the issue seems to happen only packaging for HTML5.

Hey ,

I checked out the bug for you, it’s currently being worked on however it hasn’t been resolved quite yet. I made sure to let the developers know that it’s only occurring in HTML5.

Thank you for checking up on this matter, let me know if you have any further questions.

Cheers!

Hey ,

I wanted to give you an update on the status of the bug I entered for you back in March. We’ve spoken with Mozilla about this and it’s actually an issue on their end. If you have , the issue with the orthographic mode should be resolved however, it’s not released yet for FireFox 39, but it’s anticipated to be resolved in the next few months.

I hope this helps. :slight_smile:

Great, thanks for the heads up.

You’re welcome! :slight_smile: