Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question iTextSharp Integration Issue in Unity

Discussion in 'Scripting' started by louayxkirito69, Dec 2, 2023.

  1. louayxkirito69

    louayxkirito69

    Joined:
    May 2, 2021
    Posts:
    1
    I'm facing challenges integrating iTextSharp (version 8.0.2) into my Unity project. Could someone guide me on the correct process to integrate iTextSharp into Unity or provide insights into the correct DLL or package for Unity compatibility?
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,320
    I would start with the official documentation for the iTextSharp library itself and make sure it is within the .NET and C# levels required by the particular version of Unity you are using (see official docs).

    Ideally there will be a Unity package or Package Manager Url to consume it within Unity, if it is intended for use there.

    As a general rule most modern libraries will not work out-of-box with Unity, but there may be source-code-level integrations that can help you succeed.

    Otherwise, when you write this:

    Know that it isn't actionable.

    How to report your problem productively in the Unity3D forums:

    http://plbm.com/?p=220

    This is the bare minimum of information to report:

    - what you want
    - what you tried
    - what you expected to happen
    - what actually happened, log output, variable values, and especially any errors you see
    - links to actual Unity3D documentation you used to cross-check your work (CRITICAL!!!)

    The purpose of YOU providing links is to make our job easier, while simultaneously showing us that you actually put effort into the process. If you haven't put effort into finding the documentation, why should we bother putting effort into replying?




    If you post a code snippet, ALWAYS USE CODE TAGS:

    How to use code tags: https://forum.unity.com/threads/using-code-tags-properly.143875/

    - Do not TALK about code without posting it.
    - Do NOT post unformatted code.
    - Do NOT retype code. Use copy/paste properly using code tags.
    - Do NOT post screenshots of code.
    - Do NOT post photographs of code.
    - Do NOT attach entire scripts to your post.
    - ONLY post the relevant code, and then refer to it in your discussion.
     
    louayxkirito69 likes this.