Quantcast
Browsing all 235 articles
Browse latest View live

How Do I Display Multiple Strings In Here?

This script pretty much makes a Debug/Chat log but it only displays one string at a time. How do i get it to print the next string underneath rather than overwrite the previous one? var stringToEdit :...

View Article


How to redirect System.Console.Write from dll to Debug.Log

What I am currently doing can be summarized as: var stdOut = System.Console.Out; var consoleOut = new StringWriter(); System.Console.SetOut(consoleOut); //.dll call that calls...

View Article


MAC Yosemite Output log location

Mavericks moved the output log once already, but after upgrading to Yosemite I cannot find it anymore. I've checked the Library, both user and root, with no success. There isn't a Unity folder to be...

View Article

Unity3d crash when I don't use debug log

Hello everyone, Here's a tough one. In my application, I have a part where I need to add dozens and dozens of components to a GameObject. This is a really huge action to complete and I knew the...

View Article

Can't find OSX Standalone log file

I'm building a Mac OSX standalone build. Unity creates the gamename.app file but when I run it, it runs fine but I need to see the debug.log output. I've looked everywhere but there doesn't seem to be...

View Article


Is there a logging method, similar to C#'s Console.WriteLine? (what I want is...

Hello guys, I was just testing something when I accidentally wrote: Debug.Log("There are {0} elements in my list", list.Count); Then I remembered I can't do that in `Debug.Log` - And I can't use...

View Article

Web Player crashes, maybe to many objects

Hey there! I ´ve trying to fix my game project from the GGJ the last few days and I really don´t know what to do against the crashing. We deploy in webplayer and the game is about asteroids crashing...

View Article

How do you get OutputDebugString to show up in the Visual Studio output window?

Objective: As a programmer, when I add log statements to my code the output appears in the Visual Studio Output or Immediate Window. Scenario: I added [DllImport] for OutputDebugString() to my project...

View Article


Have my debug log saved to a .log file in build.

Hey there, I would like my debug log in the unity console (in the editor) to be saved to a .log file somewhere, with a name like debug.log. So when in the script there is something like, if (1 = 1) {...

View Article


How to get a reliable stack trace in release build?

I am currently investigating some weird behaviour regarding stacktraces of Exceptions in release builds. I understand that the common way of tracking exceptions is to register your own handler as a...

View Article

Unity Hangs on Startup with minimal log (Win 7)

Hello all, We have a Unity 4.1.5-based application, and on one user's Windows 7 computer, the application starts and then hangs without even opening a window. The process is stuck at 25% (using 100% of...

View Article

Debug.log in Update without crashing

Hey, I am trying to monitor a variable in Update(). I am using the leap motion so I am listening for different inputs on each frame. I want to know what a variable contains at any given point. How do I...

View Article

Scrollable Text of Arbitrary Length

The new Text component seems to have a limit of 16,384 characters. I'm building a scrollable log window that needs to be able to store an arbitrary amount of text. It's nice that Unity supports...

View Article


Debug.Log Override?

Is it possible to change the Debug.Log void and if so is anything like this close: using UnityEngine; using System.Collections; public class Debug : MonoBehaviour { public override void Log (string...

View Article

debug.log with color (variable)????????

After looking at this reference page: http://docs.unity3d.com/ScriptReference/Debug.Log.html I have this variable at the top of my code private Color[] color_debug_log = new Color[]{ Color.red,...

View Article


Redirecting Build Output to Console for Automated Builds

I am trying to run automated Unity (Version 4.5.5f1) builds through a [Jenkins][1] server. So far, I've been able to specify the log output location of the build using the following command: Unity.exe...

View Article

can any one tell me log file not showing my textures and other sizes

i'm building a new apk file but this file too large. i want to re size my apk file with help of Log file in console. but my log file not showing my texture size and other sizes details. Please help me...

View Article


Debugging tools that can be used with Unity in Native OS and multithreading...

When you code using Native OS(Win,Osx) API (unsafe) even Null object reference can crash Unity, and try catch blocks are useless same as logs containing registry data. Problem become even harder cos...

View Article

How to edit Editor.log while Unity is running (on a Mac)

I've been using Unity in Windows for a few years and thanks to a change of job have recently switched to using a Mac. There's something I'm used to doing in Windows which doesn't seem to be working......

View Article

Get logged network events

Hello all, Simple question, will it be a simple answer? I don't know! I've asked google the same question in many different forms this question but can't seem to find the answer, when using...

View Article
Browsing all 235 articles
Browse latest View live


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