Quantcast
Channel: Questions in topic: "parser"
Browsing index pages (108 articles)

how to solve webgl.loader.js:1 Unable to parse Build/webgl.framework.js.br...

I have deployed an app in webgl from a storage account but I have problems with the cdn server configuration and it is not compressing I have problems with the accept-encoding: br![alt text][1] [1]:...

View Article


Bunny83 Expression Parser errors on some computers

I'm using a math expression parser made by @Bunny83 to create paths for enemies. I cannot find the version I'm using online (a friend got it from somewhere), so [here][1]'s a very similar one. An issue...

View Article


Encyclopedia System

Hello, this is my first time posting, so I apologize if this question is structured incorrectly. I am planning on making a game similar to the classic [King of Dragon Pass][1] and its sequel [Six Ages:...

View Article

Conditional expressions parser? How to manage conditions out of a C# script?

This will be more a question about programming in general, than about Unity. But! I would really be very pleased if someone shows me a way how to manage the issue.Assuming we have a LightBulb class. It...

View Article

Naming a scene created with the NewScene function

I used the UnityEditor.SceneManagement.EditorSceneManager.NewScene() function to create a new scene in an editor script. The editor loads the new scene as it should. However, the scene shows up with...

View Article


Remove TAB from parsed string

This is a new problem arising from my previous question : http://answers.unity3d.com/questions/291294/stringequals-not-working-as-expected.html I am reading a texture packer text info file, and after...

View Article

"ArgumentException: JSON parse error: Invalid value." thrown on valid JSON

Hello -- I'm trying to parse a simple JSON file with a list but the following error is being thrown: ArgumentException: JSON parse error: Invalid value. I understand this generally means that the JSON...

View Article

B83 Expression parser problem

Hi ! Newbie here =) I am creating a calculator, using the Expression parser of @Bunny83 : http://wiki.unity3d.com/index.php/ExpressionParser When i want to compute 3+4*5, and change f.e the value 4 to...

View Article


JSON Parse Errors: Get Line Numbers

I'm building a game where all the data is stored externally in JSON. This data tends to break constantly, and when it does, It only tells me which file failed to parse, not which line the failure...

View Article


GeoJSON parser in C# for Unity 3D - problem with import

Hi all, I was trying to test this GEOJSON parser but I am getting these errors. Is there any way to import this library into Unity? I simply moved it to the Asset folder.....

View Article

UV tiling with already made coordinates.

Hi. I am making FBX parser in runtime and faced again the problem. FBX has information about vertices coordinates, IDs of those vertices how to make polygons (PolygonVertexIndex), UV coordinates, and...

View Article

Make the compiler evaluate a string as a chunk of code to be compiled?

I want to create a method which will take ANY variable type as an argument. And by any I mean user-defined types, so it could be a very flexible method that can be reused anytime. Kind of: static...

View Article

Getting a parser error in my level editor in my bubble shooter?

using UnityEngine; using System.Collections; using UnityEditor; using System; using System.IO; public class LevelEditor : EditorWindow { private static LevelEditor window; private int maxRows; private...

View Article


Strange issue with the B83 expression parser

I'm using the wonderful Expression Parser created by @Bunny83 as-is with no modifications (yet): http://wiki.unity3d.com/index.php/ExpressionParser What I'm trying to do is set it up so that the parser...

View Article

Parser Error Unexpected symbol `public', expecting `.' or `;'

Very new to Unity, trying to script a level restart using code I found online, I keep getting this error and I have no idea what's wrong. ![alt text][1] [1]:...

View Article


How can I get this code to recognize coll in my update function?

using UnityEngine; using System.Collections; public class Ninja : MonoBehaviour { float speed = 7.0f; // Use this for initialization void Start () { transform.position = new Vector3 (2, 8, -5); } //...

View Article

Parser Error Unexpected symbol `m_MovementAudio'

I am working on the 3D "Tanks" tutorial and ran into some parser errors while making the TankMovement code. The errors showed up under "private void EngineAudio()" public float m_Speed = 12f; public...

View Article


External XML Parser

Hi everyone, I have a problem. I know method of internal xml parser however I want **external xml parser script** for C#. I hope you to help me for this topic. Thank you.

View Article

How to convert string to Expression ? Using string in text file as formulas...

I'm using Unity with C#. Creating a resource management game. I need an Index system. ie. Food Happiness index, Food Variety idex. Each index would have different formulas. I don't want to hardcode...

View Article

How to parse SAMI file in unity?

I want to make subtitle. I should read the file of SAMI format and put it into TextAsset. How can I do this??? + I want to know are there any SAMI parser ?

View Article
Browsing index pages (108 articles)


Latest Images