x


Restoring the state of an object on recompile during runtime

When the game is playing, I save changes to a script and return to Unity, it compiles the changes and continues where it left off. A fantastic feature except for one issue: private values that I initialize are lost and I am spammed with NullReferenceExceptions.

Is there any opportunity to save the state of my objects prior to recompile?

more ▼

asked Sep 08 '11 at 02:33 PM

Maragnus gravatar image

Maragnus
1 1

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x438
x134
x8

asked: Sep 08 '11 at 02:33 PM

Seen: 292 times

Last Updated: Sep 08 '11 at 02:33 PM