imagicbell / ublockly

reimplementation of google blockly for Unity
http://imagicbell.github.io/unity/2017/10/11/blockly-one.html
Apache License 2.0
138 stars 52 forks source link

Could not found menu UBlockly/Build Block Prefabs using unity 2019.4 #5

Closed AzkabanPresident closed 3 years ago

imagicbell commented 3 years ago

Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors.

AzkabanPresident commented 3 years ago

Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors.

when upgrade finished. therre is : An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them: Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignJustified_Light.psd Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineHold.png and so on. (I think it is uncorrelated)

Asset folder only has two files: UBlockly and UBlocklyData. Is it normal?

imagicbell commented 3 years ago

Actually I can’t recognize these two files. They maybe automatically generated by Unity. I think you can just delete them and try again. Also you can delete the Library, Temp folder, and let the Unity reimport the project again.

On Nov 4, 2020, at 4:28 PM, BreakJail notifications@github.com wrote:

Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors.

when upgrade finished. therre is : An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them: Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignJustified_Light.psd Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineHold.png and so on. (I think it is uncorrelated)

Asset folder only has two files: UBlockly and UBlocklyData. Is it normal?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/imagicbell/ublockly/issues/5#issuecomment-721586852, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ.

AzkabanPresident commented 3 years ago

Actually I can’t recognize these two files. They maybe automatically generated by Unity. I think you can just delete them and try again. Also you can delete the Library, Temp folder, and let the Unity reimport the project again. On Nov 4, 2020, at 4:28 PM, BreakJail @.***> wrote: Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors. when upgrade finished. therre is : An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them: Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignJustified_Light.psd Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineHold.png and so on. (I think it is uncorrelated) Asset folder only has two files: UBlockly and UBlocklyData. Is it normal? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ.

Actually I can’t recognize these two files. They maybe automatically generated by Unity. I think you can just delete them and try again. Also you can delete the Library, Temp folder, and let the Unity reimport the project again. On Nov 4, 2020, at 4:28 PM, BreakJail @.***> wrote: Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors. when upgrade finished. therre is : An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them: Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignJustified_Light.psd Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineHold.png and so on. (I think it is uncorrelated) Asset folder only has two files: UBlockly and UBlocklyData. Is it normal? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ.

In your Examples>Assets is also only these two files. you said: 1.open Examples in Unity. 2.Hit menu UBlockly/Build Block Prefabs and wait to finish prefabs building. I open Examples which is almost empty except two files above. There is no UBlockly menu.

imagicbell commented 3 years ago

The only reason I can find is that there is Unity compiling errors that make the custom menu items unable to show. So could you please check if there are errors?

On Nov 4, 2020, at 5:01 PM, BreakJail notifications@github.com wrote:

Actually I can’t recognize these two files. They maybe automatically generated by Unity. I think you can just delete them and try again. Also you can delete the Library, Temp folder, and let the Unity reimport the project again. … <x-msg://3/#> On Nov 4, 2020, at 4:28 PM, BreakJail @.***> wrote: Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors. when upgrade finished. therre is : An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them: Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignJustified_Light.psd Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineHold.png and so on. (I think it is uncorrelated) Asset folder only has two files: UBlockly and UBlocklyData. Is it normal? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment) https://github.com/imagicbell/ublockly/issues/5#issuecomment-721586852>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ.

Actually I can’t recognize these two files. They maybe automatically generated by Unity. I think you can just delete them and try again. Also you can delete the Library, Temp folder, and let the Unity reimport the project again. … <x-msg://3/#> On Nov 4, 2020, at 4:28 PM, BreakJail @.***> wrote: Could you please check if there is compiling errors? Because of the different Unity versions, there might be some incompatible api caused errors. when upgrade finished. therre is : An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them: Packages/com.unity.textmeshpro/Editor Resources/Textures/btn_AlignJustified_Light.psd Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineHold.png and so on. (I think it is uncorrelated) Asset folder only has two files: UBlockly and UBlocklyData. Is it normal? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5 (comment) https://github.com/imagicbell/ublockly/issues/5#issuecomment-721586852>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ https://github.com/notifications/unsubscribe-auth/AAQUPRQYCWCEWGGHWVJCYJ3SOEGC5ANCNFSM4TJVQQJQ.

In your Examples>Assets is also only these two files. you said: 1.open Examples in Unity. 2.Hit menu UBlockly/Build Block Prefabs and wait to finish prefabs building. I open Examples which is almost empty except two files above. There is no UBlockly menu.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/imagicbell/ublockly/issues/5#issuecomment-721603374, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQUPRU5JXKXTG66CXG6EGTSOEJ65ANCNFSM4TJVQQJQ.

ahmedtaimoorpk commented 3 years ago

I am facing the same issue here...

Like you said: 1.Open Examples in Unity. 2.Hit menu UBlockly/Build Block Prefabs and wait to finish prefabs building.

I open Examples which is almost empty except for two files (Assets->UBlockly and UBlocklyData). There is no UBlockly menu.

ahmedtaimoorpk commented 3 years ago

On Windows: After opening the Examples folder in unity. I can see 1 comment and 1 warning but no errors.

1)Comment --> Rebuilding Library because the asset database could not be found! 2)Warning --> Unity is only able to load mdb or portable-pdb symbols. Packages/com.unity.ext.nunit/net35/unity-custom/nunit.framework.pdb is using a legacy pdb format.

ahmedtaimoorpk commented 3 years ago

How I fixed this problem:

It's not working on Windows but it's working perfectly on Mac. So I created a custom package of the project on mac and imported that custom package on windows project and it's working fine now. 👍

imagicbell commented 3 years ago

How I fixed this problem:

It's not working on Windows but it's working perfectly on Mac. So I created a custom package of the project on mac and imported that custom package on windows project and it's working fine now. 👍

Well done! I really appreciate it, and sorry for not replying. I was used to work on Mac, but I believe Unity itself can handle the platform issue, although sometimes it came out with little bugs :) Thank you very much!