Search Feedback

0
votes

Feature Request: showing gameobject name who throw the exception

Editor

-

-

For my current project i working with a bunch of scenes which dynamic loading and unloading throught the gameplay. And for now when i click on exception on console, i can see which GO throwed the exception only in case GO was in the start scene, that was in editor when i pressed "Play" button.

For example: I have 1 scene, call it "main" scene.
When I push "Play" there are three more scenes are loading as initialization process. Let's call it scenes "1", "2", "3".
And if some object that was in scene "main" before entering in the play mode throwing an exception, i can click on exception message in console see which GO it was. But if i dynamically instantiate another GO, or GO was on on of loaded scenes ("1", "2" or "3") - there is no way to see which GO throwed the exception.

I can suggest to show an GO data, like its name, or add a monobehaviour overridable string property "DebugContext", something like that stuff. Thanks for reading!

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10883)

2D

(287)

Ads

(57)

AI & Navigation

(81)

Analytics

(130)

Animation

(406)

Asset Store

(363)

Asset Store Publisher

(19)

Assets

(551)

Audio

(185)

Cloud Build

(146)

Collaborate

(67)

Docs & Tutorials

(246)

Editor

(2545)

Everyplay

(17)

Game Performance Reporting

(21)

General

(987)

Graphics

(894)

GUI

(442)

Input

(173)

Licensing

(93)

Networking

(189)

Physics

(387)

Platforms

(445)

Profiling & Optimization

(84)

Runtime

(185)

Scripting

(1141)

Terrain

(174)

WebGL

(142)