Quantcast
Channel: Questions in topic: "javascipt"
Browsing all 1875 articles
Browse latest View live

Call JS function from Unity Script,How to call a JS Function from a Unity...

Hi, i try to call JS functions from Unity Script. I've tried some solutions, but none of them worked. When I try the solution from the official documentation, it doesn't work....

View Article


WebGL - InvalidStateError: An attempt was made to use an object that is not,...

Hi there, I want to change the url in the browser, according to several buttonNames, once the buttons are pressed. I try to change the url via javascript with this javascriptlibrary. QueryHandler.jslib...

View Article


Move to closest point in front of player with raycast

I have my player, When he lands on the rail I turn on isKinematic and lerp his transform.position to the next point. Now what I would like to do, Is make it so he moves towards the closest point in...

View Article

Standard Assets unusable - Trying to use the ThirdPersonController Prefab

Hi Everyone, I've been trying to get the standard assets component in Unity to work but I've come short handed. I'm trying to use a third person controller prefab in the game scene to use as a trigger...

View Article

Error in BUILD with UnityWebRequest but not in Editor

Hello i have the following code that's work perfectly in Editor but just crash in .exe buil and WebGL. In WebGL i have the followings errors. An error occurred running the Unity content on this page....

View Article


Why FormatException: Input string was not in the correct format?

String looks like 8. But I cant convert it to number. Code: public void UpdCoins(string str) { Write ("strCoins="+str+" uid="+UserId+" next ch "); Write ("="+str+"=");// returns =8= Write...

View Article

java.lang.Error: FATAL EXCEPTION [Thread-296]

**My app is crashing on some device on play store.. please help.** Device model : samsung SM-J600FN Device fingerprint: samsung/j6ltexx/j6lte:9/PPR1.180610.011/J600FNXXU3BSD2:user/release-keys Caused...

View Article

Use javascript library (like from npm) in unity WebGL?

Hey there, I want to use the signalr JavaScript library (https://www.npmjs.com/package/@aspnet/signalr) in Unity WebGL. Multithreading is not supported in Unity so I can't use the C# version. Is it...

View Article


First time open error android game

Hello everyone i publish a wordcard game on playstore. I build it from unity. Whenever someone downloads my app and opens it crashing with this error. java.lang.Error: FATAL EXCEPTION [main] Unity...

View Article


Base64 to texture decoding, js -> webgl

I'm building webgl application in unity and I want to allow user to import image (png). Javascript: function process(input) { let file = input.files[0]; let reader = new FileReader(); reader.onload =...

View Article

What was the last version of unity to support javascript?

Hi all, _2017.2 was the first version to remove the option to make new java scripts but the editor itself could still read and use javascript code if it was made in external coding software, I'm...

View Article

Send data from Unity WebGL to Angular

Hi, I've been working on an issue for a couple of days ago, I have a 3d viewer (built with Unity WebGL), embedded in an Angular app, And I would like to add a two way data binding between the Angular...

View Article

Unity WebGL Problem

Hi! I made an app that needs the user to authenticate and uses a local server with a database to save them. I want to run the app on Google Chrome, but since I can't run it directly by clicking on the...

View Article


Can someone help me with the Lerpz 3D tutorial? I am quite new to unity, well...

Hi Unity Forum! I would like to get help with Lerpz 3D. I have some problems with movement animation, it's not working (walk, run, jump). It does have movement, I can move when pressing the key but the...

View Article

How do I stream my wowza link into my tiny build?

I am using Unity version 2018.3.14f1 and project tiny version 0.14.5. I am a beginner in typescript. I want to stream my wowza link into my tiny build.

View Article


just one connection

Hi guys, I have a problem and I can no longer know what to test to solve the problem. Using sdk javascript, I stay in the lobby and enter a room, then I left the room and try to enter again. The...

View Article

ShaderGraph6.9.0について About ShaderGraph6.9.0

Unity2019.2.9f1を入れてHDRPのUnlitGraphを使ってマテリアルを作成したところInspectorにSurfaceOptionという項目が追加されていました。ですが通常のUnlitGraphを使ってマテリアルを作成したところこちらにはSurfaceOptionはありません。通常のUnlitGraphでもSurfaceOptionを使えるようにはできませんか? When...

View Article


Unity WebGL calling a function from a jslib file in JavaScript(Vue)

Hey everyone, I have a VueJs Project right now, where I'm building a web page. In order to show 3D Content and let the User work with it. I wanted to embed a Unity Project as WebGL. I´m not a...

View Article

Uncaught exception: abort(190) at jsStackTrace

I'm currently running unity 2019.1.5 on Windows 10 The error has occurred on edge and firefox, and I assume it will happen on chrome as well but haven't tested it because I'm running it as a local...

View Article

Unknown WebGL Error

Hello guys. Would be happy if someone could help me figure out the origin of my problem. I have a WebGL app, and I receive this error while testing it in browser. I can't get what behaviour is causing...

View Article
Browsing all 1875 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>