Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
2
Question by YoloJoe · Jan 08, 2017 at 12:35 PM · unityeditormonodevelop

Scripts in StreamingAssets folder not opening with MonoDevelop?!

Hi everyone.

This problem is starting to make me crazy! I can't open any of the scripts I put in the StreamingAssets folder in MonoDevelop. It opens in my default editor outside Unity. I have made sure MonoDevelop is set as my default editor in the preferences. I even reinstalled Unity. My biggest problem is that when I open the script in monoDevelop, it does not find the Unity libraries. So I cant use the auto-complete functions.

If anyone has any ideas on how to fix this, please let me know!

Edit: This only happens in the StreamingAssets folder. If I create a script and put it anywhere else, it works as expected.

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Bunny83 · Jan 08, 2017 at 01:13 PM

The StreamingAssets folder is for things that should not be included in your project but simply shipped with the final build as it is. So scripts inside that folder are not compiled and can not be used in the project at all. All you could do with them is loading the text of the script at runtime, but you can not compile or use the script at runtime as this requires the compiler which is part of the editor.

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 YoloJoe · Jan 08, 2017 at 01:20 PM 0
Share

But don't I need to use the Strea$$anonymous$$gAssets folder in order to use JSON?

avatar image Bunny83 YoloJoe · Jan 09, 2017 at 03:26 AM 0
Share

I'm not sure what you mean. JSON (JavaScript Object Notation) is just a text based data format and not executable code. Also you don't need to use Strea$$anonymous$$gAssets for anything. It's a handy folder which you can use when you want to load custom data at runtime. However there are other ways as well. Also keep in $$anonymous$$d that for example on Android the Strea$$anonymous$$gAssets folder is read-only as it's inside the AP$$anonymous$$ file and you have to use the WWW class to read any file in there.

Note that JSON has nothing to do with actual JavaScript code.

avatar image
0

Answer by ERSTELLER · Jan 08, 2017 at 03:31 PM

you can copy the script with strg/ctr + c you open MonoDevelop and strg/ctr + v

Comment
Add comment · 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

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

62 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 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 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 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 avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to use a boolean to control another object boolean using C# script 4 Answers

How to fix TypeLoadException (EmguCV + Unity3d) 0 Answers

"Classic" namespace "UnityEditor" error 4 Answers

can't see monodevelop in External script editor 0 Answers

Why I am not able to see monodevelope.app in macOS 0 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