• Daz 3D
  • Shop
  • 3D Software
    • Daz Studio Premier
    • Daz Studio
    • Install Manager
    • AI
    • AI Studio
    • Exporters
    • Daz to Roblox
    • Daz to Maya
    • Daz to Blender
    • Daz to Unreal
    • Daz to Unity
    • Daz to 3ds Max
    • Daz to Cinema 4D
  • 3D Models
    • Genesis 9
    • Genesis 8.1
    • Free 3D Models
  • Community
    • Gallery
    • Forums
    • Blog
    • Press
    • Help
  • Memberships
    • Daz Premier
    • Daz Plus
    • Daz Base
    • Compare
  • Download Studio
  • Menu
  • Daz 3D
  • Shop
  • 3d Software
    • Daz Studio Premier
    • Daz Studio
    • Install Manager
    • AI
    • AI Studio
    • Exporters
    • Daz to Roblox
    • Daz to Maya
    • Daz to Blender
    • Daz to Unreal
    • Daz to Unity
    • Daz to 3ds Max
    • Daz to Cinema 4D
  • 3D Models
    • Genesis 9
    • Genesis 8.1
    • Free 3D Models
  • Community
    • Our Community
    • Gallery
    • Forums
    • Blog
    • Press
    • Help
  • Memberships
    • Daz Premier
    • Daz Plus
    • Daz Base
    • Compare

Notifications

You currently have no notifications.

Loading...
    • Categories
    • Recent Discussions
Daz 3D Forums > 3rd Party Software > Unity Discussion

Importer throwing errors in Unity?

mohxgalleriesmohxgalleries Posts: 0
January 2022 in Unity Discussion

Hey y'all, I've been trying to import a Gen-8 character for use in Unity (facial animation of an avatar), but every time I import it using the bridge I get the following errors in console:

The type or namespace name 'ScriptedImporter' could not be found (are you missing a using directive or an assembly reference?)

The type or namespace name 'ScriptedImporterAttribute' could not be found (are you missing a using directive or an assembly reference?)

Obviously this is telling me that this particular namespace doesn't exist in the project, but I've found no other solution online that offer a fix to this problem. It prevents my project from being played or recompiling since there are errors in the scripts. What exactly causes this and how can I go about troubleshooting it? I have tried:

-Restarting Unity

-Reimporting

-Exporting the model without Morphs and with Morphs

-Using URP compared to the Standard rendering pipeline

-Doing it on a clean project

 

Any help would be appreciated, thank you!

Comments

  • danielbui78danielbui78 Posts: 333
    February 2022

    mohxgalleries said:

    Hey y'all, I've been trying to import a Gen-8 character for use in Unity (facial animation of an avatar), but every time I import it using the bridge I get the following errors in console:

    The type or namespace name 'ScriptedImporter' could not be found (are you missing a using directive or an assembly reference?)

    The type or namespace name 'ScriptedImporterAttribute' could not be found (are you missing a using directive or an assembly reference?)

    ....

    You are using a version of Unity greater than Unity 2019.  The first time you install the DazToUnity software into your Unity project via the "Install Unity Files" checkbox, it will ask you to update the script API and offers you some unclear choices like "I've Made a Backup. Go Ahead" and "No Thanks."  If you click "No Thanks" then the DazToUnity scripts will not work and you will get the errors above.  Here is the solution:

    1. If you are using Unity 2020, then click "Asset" on the main menu, and select the "Run API Updater..." option which is near the bottom half of the menu.  When you get the dialog prompt about "API Update Required", click the long button that says, "I Made a Backup. Go Ahead!"  Do NOT click "No Thanks".

    2. If you are using Unity 2021 or above, then right-click on the "Daz3D" folder of your Project Pane.  In the pop-up menu, select "Reimport".  When you get the dialog prompt about "Script Updating Consent", click "Yes, for these and other files that might be found later" or "Yes, just for these files".  Do NOT click "No".

     

    NOTE:  You mentioned running URP and the standard / built-in rendering pipeline.  The official DazToUnity bridge currently supports HDRP only.  If you want to use URP or built-in rendering pipeline, I suggest you install the unofficial DazToUnity plugin: https://www.daz3d.com/forums/discussion/529086/released-unofficial-dtu-bridge-v1-2-2021-10-31/p1

     

    Good luck.

  • mohxgalleriesmohxgalleries Posts: 0
    February 2022

    Hey Daniel! 

    I wasn't able to try your solution since the problem has gotten significantly worse since I worked on it yesterday! Now importing the model to Unity through the bridge or manually just causes Unity to instantly crash before the project even opens. It claims some file in the export is corrupted, and needs to be 'removed' before continuing.  There is no information as to what this file comes from or what it's supposed to be. Is this a common side effect? Am I doing something wrong that you know of?

    Thanks  for the support!

Sign In or Register to comment.
Adding to Cart…

Daz 3D is part of Tafi

Connect

DAZ Productions, Inc.
7533 S Center View Ct #4664
West Jordan, UT 84084

HELP

Contact Us

Tutorials

Help Center

Sell Your 3D Content

Affiliate Program

Documentation Center

Open Source

Consent Preferences

JOIN DAZ

Memberships

Blog

About Us

Press

Careers

Bridges

Community

In the Studio

Gallery

Forum

DAZ STORE

Shop

Freebies

Published Artists

Licensing Agreement | Terms of Service | Privacy Policy | EULA

© 2025 Daz Productions Inc. All Rights Reserved.