강의

멘토링

커뮤니티

Inflearn Community Q&A

dkel003798's profile image
dkel003798

asked

Complete Guide to Unity Machine Learning Agents (Basics)

Running the drone environment and building the environment

드론예제 관련 오류 질문드립니다

Written on

·

516

0

안녕하세요, 유니티 강의 잘 듣고있습니다.

다름이 아니라 [드론환경 실행 및 환경 빌드] 에서 드론팩을 import하고 나서 visual studio에 코드를 작성하고 난 뒤에 에러가 떠서 질문남깁니다..

Assets\Drone\Script\DroneAgent.cs(10,13): error CS0246: The type or namespace name 'PA_DroneController' could not be found (are you missing a using directive or an assembly reference?)

 

Assets\ProfessionalAssets\DronePack\Scripts\CameraTeleportEffect.cs(9,21): error CS1069: The type name 'ParticleSystem' could not be found in the namespace 'UnityEngine'. This type has been forwarded to assembly 'UnityEngine.ParticleSystemModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'Particle System' in the Package Manager window to fix this error.

 

 

Assets\ProfessionalAssets\DronePack\Scripts\ProximityCannon.cs(16,17): error CS1069: The type name 'AudioSource' could not be found in the namespace 'UnityEngine'. This type has been forwarded to assembly 'UnityEngine.AudioModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'Audio' in the Package Manager window to fix this error.

 

 

Assets\ProfessionalAssets\DronePack\Scripts\PAVR_DroneRemote.cs(10,14): error CS1069: The type name 'XRNodeState' could not be found in the namespace 'UnityEngine.XR'. This type has been forwarded to assembly 'UnityEngine.XRModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'XR' in the Package Manager window to fix this error.

 

Assets\ProfessionalAssets\DronePack\Scripts\Turbine.cs(14,17): error CS1069: The type name 'ParticleSystem' could not be found in the namespace 'UnityEngine'. This type has been forwarded to assembly 'UnityEngine.ParticleSystemModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'Particle System' in the Package Manager window to fix this error.

 

 

 

 

드론머신러닝 배워볼래요? drone강화학습unityunity-ml-agents

Answer 2

0

raptorjung4768님의 프로필 이미지
raptorjung4768
Instructor

안녕하세요!

 

사용하신 유니티 버전과 ml-agent버전 공유좀 부탁드립니다.

 

그리고 다음 두가지 사항도 체크 부탁 드립니다.

 

1. 임포트 직후에는 오류여부

2. 코드 내용 상 오류 여부

KyeongJin Song님의 프로필 이미지
KyeongJin Song
Questioner

ml-agent 설치에 문제가 있었던것 같습니다. 오류 해결됐습니다. 감사합니다

0

KyeongJin Song님의 프로필 이미지
KyeongJin Song
Questioner

KyeongJin Song님의 프로필 이미지
KyeongJin Song
Questioner

비주얼스튜디오를 열면 이런 오류도 같이 뜹니다,,

유니티허브에서 SDK와 NDK는 설치하였고, 에딧에서 비주얼스튜디오로 연결은 하였습니다.

dkel003798's profile image
dkel003798

asked

Ask a question