Search Unity

Question How can i use webrequest to load file in Bolt?

Discussion in 'Visual Scripting' started by raysharp, Mar 22, 2021.

  1. raysharp

    raysharp

    Joined:
    Sep 24, 2020
    Posts:
    2
    Hi,guys~
    I want to load .txt file in webGL,so i must use webquest to load file,but it doesn't work now,please help TT.

    The .txt file i put it in \Assets\StreamingAssets\FileLoad.txt.
    My graph is in attached file.
    I want to use webrequest.get to load file,but i don't know whether i need the sendwebrequest node,please help again~!
     

    Attached Files:

  2. raysharp

    raysharp

    Joined:
    Sep 24, 2020
    Posts:
    2
    I modified my graph,it can work in editor and .exe,but didn't in webGL,pls help!
     

    Attached Files: