x


Security.PrefetchSocketPolicy does not work in debug session?

I just started using MonoDevelop for debugging, but I'm having a problem with Security.PrefetchSocketPolicy for a webplayer build (platform is set to Web Player in the Build Settings configuration).

This is working fine if I run from within Unity, but if I start a debug session from MonoDevelop the function always returns false. I don't know enough of this function to understand why this is, but is there a way around this?

I can switch the platform to PC and Mac standalone, but I'd rather not in case something later turns out not to work exactly the same in the Web Player.

more ▼

asked May 10 '11 at 01:06 PM

WhiskeyJack gravatar image

WhiskeyJack
75 10 10 19

I have the same issue. If I Attach, then start playing, the PrefetchSocketPolicy fails (and later in the connect it crashes Unity), but if I start playing without being attached it works fine. For now I am just: 1) Play, 2) Prefetch/Connect, 3) Attach debugger.

Aug 05 '11 at 04:17 PM Molix
(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:

x815
x376
x239
x74
x4

asked: May 10 '11 at 01:06 PM

Seen: 1400 times

Last Updated: Aug 05 '11 at 04:17 PM