Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Building in WebGL with Fungus tool

Discussion in 'WebGL' started by jwhitmoo, Feb 3, 2020.

  1. jwhitmoo

    jwhitmoo

    Joined:
    Jul 2, 2019
    Posts:
    4
    Hi,

    I've built my first game in Unity using Fungus to create a branching narrative story. The game uses video, and plays out like Netflix's Bandersnatch.

    I'm getting a whole variety of errors in the browser console when uploading to Itch and Simmer, and have even begun a new project to rebuild the game in the hope that this would solve it, yet I am still getting the same errors even though I've only created a couple of blocks in the Fungus flowchart.

    Is solely using video going to be too much memory needed for the browser to run the game, or should it be able to cope?

    I've followed a number of tutorials of how to build the game through the Unity builder, but none seem to solve the problems I am seeing.

    I have seen:
    PlayerSettings.WebGL.linkerTarget should be set to WebGLLinkerTarget.Wasm in your script.

    Though I can not seem to locate this is the script (I am not that well versed though so may be looking in completely the wrong place).

    First error in console in Firefox:

    InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings.

    Any help would be greatly appreciated as I'm just starting out on Unity and want to continue!
     
  2. jenkatan

    jenkatan

    Joined:
    Jun 4, 2020
    Posts:
    3
    Did you end up finding an answer to this? I'm thinking of using Fungus for the same purpose
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,022
    for input error,
    try enabling old input system (or both, if you need new system also)

    from player settings
    upload_2021-4-8_10-31-43.png