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 /
  • Help Room /
avatar image
1
Question by crgarner · Jan 24, 2016 at 06:48 AM · tutorialspace shooter

Space Shooter Tutorial Audio Issue...

I am in the tutorial where I have to add the audio and I don't have the ability to drag the audio clip into the asteroids prefab of inspector. Also, the audio file isn't even recognized in unity and only plays on my computer's default music program. How can I make the audio files available in Unity? I'm using a laptop that has windows 10 and I think that might be causing the problem.

Comment
Add comment · Show 4
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 UsmanAbbasi · Jan 24, 2016 at 10:02 AM 0
Share

Providing screenshot of unity assets folder will help answering your question.

avatar image crgarner · Jan 24, 2016 at 10:47 PM 0
Share

Here is a screenshot of what the audio files look like. alt text

unity-audio-space-shooter.jpg (15.9 kB)
avatar image hexagonius crgarner · Jan 25, 2016 at 07:10 AM 0
Share

they don't look like supported audio files (no special icon). look up the docs for AudioClip to see what's supported and convert it.

avatar image UsmanAbbasi · Jan 25, 2016 at 06:25 AM 0
Share

What is the extension of audio files? Can you share any of these audio files here? Post the complete screenshot of inspector to make it more clear. I want to see import settings of these files in inspector.

4 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by canerozer44 · Sep 22, 2017 at 10:27 AM

Select 'explosion_asteroid' prefab on the project browser and push the 'add component' button and add Audio->Audio Source component to the prefab. Then drag the explosion_asteroid audio to the AudioClip box.

Comment
Add comment · Show 1 · 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 raspyrobot · Dec 11, 2017 at 06:25 PM 0
Share

Thanks! canerozer44. That fixed my problem I was having. Thumbs up..

avatar image
1

Answer by Cadenus · Nov 08, 2016 at 08:57 PM

The audio files have been taken from the asset store and they are ok.

I ran into the same problem when running through the tutorial. Earlier on i had switched the build system to "WebGL", as the tutorial said to use "Web Player" and this seemed to be close enough.

Everything went ok until i reached the audio section of the tutorial. Unity tried or had tried to import the wav-files using a conversion to AAC which failed making the audio clips unusable in Unity.

Switching to the "PC, MAC and Linux" build system caused a reimport in which no conversion to AAC is necessary and i could continue with the tutorial as intended.

I hope this helps if not the original poster then some other guy who stumbles across this problem like me just now. :)

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

Answer by Old_Badger · Jan 11, 2017 at 07:00 PM

Many Thanks Cadenus, that is exactly what I came up against, switching to PC, MAC Linux fixed it for me. Using Unity 5.5 on Ubuntu 16.04.

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

Answer by DevDonkey · May 08, 2017 at 07:19 AM

for those using Ubuntu and Unity 5.5 the answer is that you probably dont have ffmpeg installed.

$ sudo apt update && sudo apt install ffmpeg

then reimport the asset to force Unity to attempt to convert.

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

46 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

Related Questions

Space Shooter Tutorial - Game View Ship Afterimages 0 Answers

My script does not work each time i enter Unity unless i add it to the object again. any solutions? 0 Answers

SpaceShooter Tutorial instanced asteroid not taking GameController game object in unity5 0 Answers

The bolt on "Shooting shots" won't appear 1 Answer

The bolt doesn't move 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