• 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 /
avatar image
0
Question by drcheeseman · Apr 22, 2019 at 09:13 AM · uieditor extensionasset-storeuiwebview

Issue with PowerUI and 2018.3

I'm having trouble with the PowerUI asset (https://forum.unity.com/threads/powerui-powerful-html-css-ui-framework.196144/) and 2018.3 (project was created under 2018.2). After installing the plugin menu items are supposed to be available but there are build errors following import. Error messages are listed below and it looks to my eye as an incompatibility with some change in the underlying editor. Any help is appreciated:

 Assets\PowerUI\Source\JavaScript\WebAssembly\Emit\ReflectionEmit.cs(380,63): error CS0234: The type or namespace name 'LocalBuilder' does not exist in the namespace 'System.Reflection.Emit' (are you missing an assembly reference?)
 Assets\PowerUI\Source\JavaScript\WebAssembly\Emit\ReflectionEmit.cs(393,33): error CS0234: The type or namespace name 'LocalBuilder' does not exist in the namespace 'System.Reflection.Emit' (are you missing an assembly reference?)
 Assets\PowerUI\Source\JavaScript\WebAssembly\Emit\ReflectionEmit.cs(33,55): error CS0234: The type or namespace name 'Label' does not exist in the namespace 'System.Reflection.Emit' (are you missing an assembly reference?)
 Assets\PowerUI\Source\JavaScript\WebAssembly\Emit\ReflectionEmit.cs(41,33): error CS0234: The type or namespace name 'Label' does not exist in the namespace 'System.Reflection.Emit' (are you missing an assembly reference?)
 Assets\PowerUI\Source\JavaScript\WebAssembly\Emit\ReflectionEmit.cs(62,29): error CS0246: The type or namespace name 'TypeBuilder' could not be found (are you missing a using directive or an assembly reference?)
 Assets\PowerUI\Source\JavaScript\WebAssembly\Emit\ReflectionEmit.cs(56,10): error CS0246: The type or namespace name 'TypeBuilder' could not be found (are you missing a using directive or an assembly reference?)
 Assets\PowerUI\Source\JavaScript\WebAssembly\Emit\ReflectionEmit.cs(328,28): error CS0246: The type or namespace name 'TypeBuilder' could not be found (are you missing a using directive or an assembly reference?)
 Assets\PowerUI\Source\JavaScript\WebAssembly\Emit\ReflectionEmit.cs(433,75): error CS0234: The type or namespace name 'MethodBuilder' does not exist in the namespace 'System.Reflection.Emit' (are you missing an assembly reference?)
 Assets\PowerUI\Source\JavaScript\WebAssembly\Emit\ReflectionEmit.cs(444,75): error CS0234: The type or namespace name 'ConstructorBuilder' does not exist in the namespace 'System.Reflection.Emit' (are you missing an assembly reference?)
 Assets\PowerUI\Source\JavaScript\WebAssembly\Emit\ReflectionEmit.cs(426,34): error CS0234: The type or namespace name 'ILGenerator' does not exist in the namespace 'System.Reflection.Emit' (are you missing an assembly reference?)
 Assets\PowerUI\Source\JavaScript\WebAssembly\Emit\ReflectionEmit.cs(207,33): error CS0234: The type or namespace name 'AssemblyBuilder' does not exist in the namespace 'System.Reflection.Emit' (are you missing an assembly reference?)
 Assets\PowerUI\Source\JavaScript\WebAssembly\Emit\ReflectionEmit.cs(427,34): error CS0234: The type or namespace name 'MethodBuilder' does not exist in the namespace 'System.Reflection.Emit' (are you missing an assembly reference?)
 Assets\PowerUI\Source\JavaScript\WebAssembly\Emit\ReflectionEmit.cs(209,33): error CS0234: The type or namespace name 'ModuleBuilder' does not exist in the namespace 'System.Reflection.Emit' (are you missing an assembly reference?)



Comment
Add comment · Show 1
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 drcheeseman · Apr 22, 2019 at 04:38 AM 0
Share

P.S. Both the scripting run time and api compatibility are set to 4.X.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by MikaLikeABoss · Nov 22, 2019 at 10:49 PM

This happens because by default Unity Player, in Project Settings, is set to Api Compatibility level 2.x. Change it to .Net 4.x and It will work.

The path is Edit->Project Settings->Player->Api Compatibility Level.

If that is what is required to be able to write your UI using HTML/CSS, then so be it. I will just accept .Net 4+.

Once you do that change, all example scenes in package PowerUI will just run without problems.

For Unity 2019 you get a lot of warnings. But so far the example scenes are working for me.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

172 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 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 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 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

How do I add something to the OnClick of a UI Button from an Editor-Script? 0 Answers

ShaderGraph-like EditorWindow 0 Answers

Creating a custom editor window with a grid 2 Answers

WebGL UI cropped on windowed mode 0 Answers

Text blurred: uGUI 4.6 9 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