Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more..
    Dismiss Notice
  3. Dismiss Notice

Where Is Unity.Mathematics?

Discussion in 'Scripting' started by LW, Sep 26, 2020.

  1. LW

    LW

    Joined:
    Jun 23, 2013
    Posts:
    22
    I can only seem to get it to load if I load the Jobs package. It will appear only when I load that. If I unload it, it removes the Unity.Mathematics package.

    Thanks,
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,769
    A quick glance at google tells me that it is a separate package from Jobs, which makes me think it might be a dependency of Jobs.

    Have you tried importing JUST the Unity.Mathematics package to use it?
     
  3. LW

    LW

    Joined:
    Jun 23, 2013
    Posts:
    22
    I'm sorry I wasn't clear. It isn't in the PackageManager for me to load. The ONLY way I can get it into the project is to load the Jobs package (which pulls it in as a dependency).
     
  4. Valjuin

    Valjuin

    Joined:
    May 22, 2019
    Posts:
    481
  5. LW

    LW

    Joined:
    Jun 23, 2013
    Posts:
    22
    Thank you... sort of.

    Thank you for helping clue me in on where it is being discussed but I'm confused as to why a verified (in 2020) package such as Unity.Mathematics is removed and the only word from a Unity company man is, "these packages should only be added if you know exactly what you're doing".

    Huh?

    That comment (in the thread) is pretty much exactly the opposite of what the blog post at the top of the thread states....

    But still, thank you for linking that for me. I do appreciate it.
     
  6. ModLunar

    ModLunar

    Joined:
    Oct 16, 2016
    Posts:
    372
    No idea why Unity.Mathematics is missing in my package manager as well in Unity 2020.3.13f1 LTS...

    I clearly have Preview packages in my view, and have looked under "M" in case it started with just "Mathematics", and also "U" if it started with "Unity Mathematics", but still don't see it.

    upload_2021-7-28_23-46-37.png

    I had to manually add the following line to my manifest.json in order to add Unity Mathematics to my project:
    Code (CSharp):
    1. "com.unity.mathematics": "1.2.1",
    Now, my package manager shows it.. :/ that mysterious package manager window..

    upload_2021-7-29_0-15-25.png
     
    CD-WR, Vaupell, sk0pe_unity and 3 others like this.
  7. Psyonx

    Psyonx

    Joined:
    Dec 28, 2016
    Posts:
    4
    By default, preview packages do not appear in the list of packages you can install; however, you can force the Package Manager to show them by enabling the Enable Preview Packages in project setting.
     
    Shmardow likes this.
  8. Psyonx

    Psyonx

    Joined:
    Dec 28, 2016
    Posts:
    4
    Or ... you can add them from git URL ...
    • Go to Window -> Package Manager
    • Click the drop-down menu (plus icon) on the top left of the window, and select add package from git URL
    Addresses of the Lost Packages:
    com.ptc.vuforia.engine
    com.unity.2d.entities
    com.unity.ai.planner
    com.unity.aovrecorder
    com.unity.assetbundlebrowser
    com.unity.assetgraph
    com.unity.barracuda
    com.unity.barracuda.burst
    com.unity.build-report-inspector
    com.unity.cloud.userreporting
    com.unity.collections
    com.unity.connect.share
    com.unity.dots.editor
    com.unity.entities
    com.unity.film-tv.toolbox
    com.unity.google.resonance.audio
    com.unity.immediate-window
    com.unity.jobs
    com.unity.mathematics
    com.unity.meshsync
    com.unity.multiplayer-hlapi
    com.unity.package-manager-doctools
    com.unity.package-manager-ui
    com.unity.package-validation-suite
    com.unity.physics
    com.unity.platforms
    com.unity.platforms.android
    com.unity.platforms.linux
    com.unity.platforms.macos
    com.unity.platforms.web
    com.unity.platforms.windows
    com.unity.playablegraph-visualizer
    com.unity.render-pipelines.lightweight
    com.unity.rendering.hybrid
    com.unity.renderstreaming
    com.unity.scene-template
    com.unity.simulation.client
    com.unity.simulation.core
    com.unity.simulation.capture
    com.unity.simulation.games
    com.unity.standardevents
    com.unity.streaming-image-sequence
    com.unity.test-framework.performance
    com.unity.tiny.all
    com.unity.transport
    com.unity.upm.develop
    com.unity.vectorgraphics
    com.unity.webrtc
    com.unity.xr.googlevr.android
    com.unity.xr.googlevr.ios
    com.unity.xr.legacyinputhelpers
    com.unity.xr.oculus.android
    com.unity.xr.oculus.standalone
    com.unity.xr.openvr.standalone
    com.unity.xr.arsubsystems
    com.unity.xr.interactionsubsystems
    com.unity.xr.windowsmr.metro
     
    rikuvunua, Riiich, fasecero and 6 others like this.
  9. quadrumane

    quadrumane

    Joined:
    Oct 13, 2021
    Posts:
    1
    Super Helpful. Thank you!