Giter Club home page Giter Club logo

Comments (3)

adolli avatar adolli commented on May 14, 2024

Could u please show me more about the errors? Such as full stack trace, which helps us to locate the code position.

from poco-sdk.

4karion avatar 4karion commented on May 14, 2024

Hi, I'm having this exact problem, here is my full stacktrace:

05-27 13:35:25.066 23167 23242 E Unity : Material doesn't have a color property '_Color'
05-27 13:35:25.066 23167 23242 E Unity : UnityEngine.Material:GetColor(String)
05-27 13:35:25.066 23167 23242 E Unity : Poco.UnityNode:GetImageSourceTexture()
05-27 13:35:25.066 23167 23242 E Unity : Poco.UnityNode:GetPayload()
05-27 13:35:25.066 23167 23242 E Unity : Poco.UnityNode:enumerateAttrs()
05-27 13:35:25.066 23167 23242 E Unity : Poco.AbstractDumper:dumpHierarchyImpl(AbstractNode, Boolean)
05-27 13:35:25.066 23167 23242 E Unity : Poco.AbstractDumper:dumpHierarchyImpl(AbstractNode, Boolean)
05-27 13:35:25.066 23167 23242 E Unity : Poco.AbstractDumper:dumpHierarchyImpl(AbstractNode, Boolean)
05-27 13:35:25.066 23167 23242 E Unity : Poco.AbstractDumper:dumpHierarchyImpl(AbstractNode, Boolean)
05-27 13:35:25.066 23167 23242 E Unity : PocoManager:Dump(List1) 05-27 13:35:25.066 23167 23242 E Unity : RPCParser:HandleMessage(String) 05-27 13:35:25.066 23167 23242 E Unity : <>c_DisplayClass22_0:<Update>b_0(String) 05-27 13:35:25.066 23167 23242 E Unity : System.Collections.Generic.List1:ForEach(Action`1)
05-27 13:35:25.066 23167 23242 E Unity : PocoManager:Update()
05-27 13:35:25.066 23167 23242 E Unity :
05-27 13:35:25.066 23167 23242 E Unity : [./Runtime/Shaders/Material.cpp line 977]
05-27 13:35:25.066 23167 23242 E Unity : (Filename: ./Runtime/Shaders/Material.cpp Line: 977)

from poco-sdk.

4karion avatar 4karion commented on May 14, 2024

Hello again,
I've temporally "fixed" it by modifying line 448 on your UnityNode.cs to:
if (renderer != null && renderer.material != null && renderer.material.HasProperty("_Color"))

It seems that the error is happening with TextMeshPro and Spine shaders.

from poco-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.