任务单 #31639

Working on Unity 4.1.2f?

开放日期: 2013-07-02 00:44 最后更新: 2013-07-04 04:13

报告人:
(匿名)
属主:
(无)
类型:
状态:
开启
组件:
(无)
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:

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.

任务单历史 (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
评论

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
评论

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

编辑

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