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
3
Question by berkay.inan · Oct 17, 2011 at 06:48 PM · monodeveloplinesinconsistent

inconsistent lines errors?!

I know that this question is asked often but i dont understand how i can fix this problem... i am using windows and the monodevelop programm from unity. i have already tried fixing it with notepad ++ and visual c but it didnt work... please help me so that i can continue with my project! thanks for your help, berkay

Comment
Add comment · Show 1
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 Dris · Sep 12, 2015 at 07:08 PM 0
Share

Thank you

1 Reply

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

Answer by PatHightree · Oct 17, 2011 at 08:21 PM

In visual studio you can open the offending file and use the File/Advanced Save Options menu, then set Line Endings to Windows (CR LF). This fixes the problem for one file.

To fix the problem structurally, open the files in C:.....\Unity 3.4.1\Editor\Data\Resources\ScriptTemplates and fix their line endings. Then all your new scripts will have proper line endings.

Comment
Add comment · Show 6 · 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 berkay.inan · Oct 22, 2011 at 02:17 PM 0
Share

thanks!that worked! :D

avatar image PatHightree · Oct 24, 2011 at 07:45 AM 0
Share

Great, could you please mark the answer as accepted ?

avatar image PaxForce · Nov 19, 2014 at 08:12 AM 0
Share

@PatHightree could you be more specific pls? In the path you have provided I found the C# file template but I can't see the code that is responsible for line endings.

avatar image PatHightree · Dec 01, 2014 at 03:48 PM 0
Share

Edit the template in VS.
Change the document with "File/Advanced Save Options/Line Endings"
Save

avatar image getyour411 · Sep 12, 2015 at 07:25 PM 1
Share

@edwinsoho

Look again? It's there in Visual Studio 2015 seems unlikely it was dropped temporarily from whatever version these folks were using.

Show more comments

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

MonoDevelop does not come up as top window when doubleclick error in Unity 1 Answer

MonoDevelop builds always succeed, even if there are errors. 1 Answer

MonoDevelop lines wrap ????? 1 Answer

Why does .Length not autocomplete in Monodevelop? 2 Answers

Monodevelop not opening js files 1 Answer


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