Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by devAl · Mar 29, 2013 at 11:30 PM · wwwnacl

WWW class appears to cause NaCl to crash

Using a project I made recently I decided I wanted to try it out using the Native Chrome plugin and I found that it crashed immediately. After setting the environment variables to get log information from the start page to using NaCL I was able to track the issue down to a WWW call.

I then loaded up a project that didn't have any WWW calls and found that it worked fine in the plugin. I then simply added a simple WWW call to that project and now that project crashes immediately.

 public void Start()
     {
         var www = new WWW("http://docs.unity3d.com/Documentation/Manual/nacl-gettingstarted.html");
     }

Do I need to be doing something different when I create a WWW class in the NaCl plugin? According to what I've read I should be able to use the WWW class, did that change recently? Before you ask, yes I have configured my webserver to return the "Access-Control-Allow-Origin" header.

Thanks for any help in advance.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Loius · Mar 30, 2013 at 12:35 AM 0
Share

I don't care what they taught you in school, you don't put salt in your computer. You're just gonna run into more problems down the road. Use Pb+J ins$$anonymous$$d for best results.

:V

avatar image devAl · Mar 30, 2013 at 12:55 AM 0
Share

Lol, nice. I'll take that advice and put that pb and j in the blu ray drive.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Schubkraft · Jun 11, 2013 at 09:48 AM

Hello!

That issue has been fixed and will be deployed with a future version of Unity. Can't say which one exactly though, sorry.

Cheers!

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RelentlessLouis · Jun 11, 2013 at 03:11 PM -1
Share

It's definitely not been fixed in 4.1.5 since I still get it crashing on the first use of WWW.

The std_err log shows:

[SRPC:NACL:-1,4278071424:12:52:10.405160] RpcCheckingClosureRun: response(channel=0xfefe3108, rpc_number=0, rpc_name="service_discovery", result=256, string="No error") ter$$anonymous$$ate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not valid

avatar image Graham-Dunnett ♦♦ · Jun 11, 2013 at 03:18 PM 0
Share

4.1.5 is the current version. @Schubkraft said a future version.

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

is it me or Application.OpenURL does not work in NACL? 0 Answers

connecting to php? 2 Answers

Is it possible to check internet conneciton for WWW class downloading ? 3 Answers

Large memory footprint increase when assigning a GUITexture from a WWW Object on iPad 1 Answer

WWW standalone. (why changed web server session?) 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges