Incidencia #31639

Working on Unity 4.1.2f?

Abrir Fecha: 2013-07-02 00:44 Última actualización: 2013-07-04 04:13

Informador:
(Anónimo)
Propietario:
(Ninguno)
Tipo:
Estado:
Open
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno

Details

I'm using Unity 4.1.2f, window7 x64, MikuMikuDance for Unity r146 plugin.

when drag&drop plugin to unity. popup this message.

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(26,27): error CS1519: Unexpected symbol for' in class, struct, or interface member declaration

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(26,43): error CS1519: Unexpected symbol <' in class, struct, or interface member declaration

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(26,55): error CS1519: Unexpected symbol -' in class, struct, or interface member declaration

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(26,61): error CS1519: Unexpected symbol ++' in class, struct, or interface member declaration

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(27,41): error CS1519: Unexpected symbol +=' in class, struct, or interface member declaration

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(27,43): error CS0178: Invalid rank specifier: expected ,' or ]'

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(27,50): error CS1519: Unexpected symbol +' in class, struct, or interface member declaration

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(28,38): error CS1519: Unexpected symbol ;' in class, struct, or interface member declaration

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(31,32): error CS0116: A namespace can only contain types and namespace declarations

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(37,30): error CS0116: A namespace can only contain types and namespace declarations

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(50,30): error CS0116: A namespace can only contain types and namespace declarations

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(56,38): error CS1518: Expected class', delegate', enum', interface', or struct'

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(68,17): error CS8025: Parsing error

Assets/Plugins/MikuMikuDance for Unity/XFileImporter/Private/XFileConverter.cs(68,17): error CS1027: Expected #endif' directive

how can i fix it? need help.

Ticket History (3/3 Histories)

2013-07-02 00:44 Updated by: None
  • New Ticket "Working on Unity 4.1.2f?" created
2013-07-03 23:16 Updated by: sters
Comentario

OK, please choose proposes.

1. Check if there is any mistake in source code
The source code Check in yourself, or show me copy&paste or screenshot.
Please make sure that there is no difference to that of the repository.

2. Try a new version of Unity
I'm using 4.1.5f1, the error will not come out.
Please try if you can upgrade.

3. Try a old version of MMD for Unity
Please try r145.
If show same error, try r144. r143, r142, ....

2013-07-04 04:13 Updated by: grgsiberia
Comentario

Thanks

Maybe, I have a mistake. I don't grouped "using UnityEditor;" in UNITY_EDITOR directive. I have solved this problem at r147.

Please, run r147 on your environment.

Attachment File List

No attachments

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar